# \[PATCH\] PrintCapabilities defined twice

**URL:** <https://www.ruby-forum.com/t/patch-printcapabilities-defined-twice/101593>\
**Category:** Ruby-Gnome 2\
**Created:** [August 6, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/patch-printcapabilities-defined-twice/101593 "2006-08-06T15:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tilman\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/41988e/32.png) [@Tilman\_S](https://www.ruby-forum.com/u/Tilman_S)\
**Post date:** [August 6, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/patch-printcapabilities-defined-twice/101593/1 "2006-08-06T15:04:46Z")

</div>

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys – and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

---

<div class="post-metadata">

**Author:** ![Tilman\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/41988e/32.png) [@Tilman\_S](https://www.ruby-forum.com/u/Tilman_S)\
**Post date:** [August 6, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/patch-printcapabilities-defined-twice/101593/2 "2006-08-06T15:31:48Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] [PATCH] PrintCapabilities defined twice” on  
Sun, 6 Aug 2006 15:02:20 +0200,  
Tilman S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> in CVS head, Gtk::PrintCapabilities is being defined twice; it’s in  
> rbgtkprintunixdialog.c and rbgtkprintjob.c.

Thanks for reporting. I fixed this in CVS. But …

> Attached patch fixes the problem by removing the definition call from  
> \_printjob.c.

… I removed from rbgtkprintunixdialog.c because  
GtkPrintCapabilities is defined in gtkprintjob.h.

## Thanks,

kou

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys – and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
