[Pidgin] #2617: Supply hints to UI so that it may make windows	properly transient
    Pidgin 
    trac at pidgin.im
       
    Sat Sep 22 18:45:27 EDT 2007
    
    
  
#2617: Supply hints to UI so that it may make windows properly transient
---------------------------+------------------------------------------------
  Reporter:  nix_nix       |       Owner:  seanegan
      Type:  patch         |      Status:  assigned
  Priority:  minor         |   Milestone:  2.2.1   
 Component:  pidgin (gtk)  |     Version:  2.1.0   
Resolution:                |    Keywords:          
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by nix_nix):
 Sorry, here it is again, with proper formatting (I hope):
 I didn't know how to the following, for example, in GtkPlugin.xs:
 {{{
 --- pidgin/plugins/perl/common/GtkPlugin.xs
 b94f5f1f9dbe69b1e2f4bf00703c67a1144254ba
 +++ pidgin/plugins/perl/common/GtkPlugin.xs
 451f34534a681c7add5722a3b00ba6559b8f1809
 @@ -11,3 +11,7 @@ pidgin_plugin_dialog_show()
  void
  pidgin_plugin_dialog_show()
 +
 +void
 +pidgin_plugin_dialog_show_with_parent(parent)
 +       void * parent
 }}}
 Notice how I used "void * parent" instead of "GtkWindow * parent"? Well,
 that's because, if I tried "GtkWindow * parent", I get "Error: 'GtkWindow
 *' not in typemap". So, I did all the perl bindings for Pidgin's new
 _with_parent functions (logs, pounces, plugins) using "void *" instead of
 "GtkWindow *".
-- 
Ticket URL: <http://developer.pidgin.im/ticket/2617#comment:10>
Pidgin <http://pidgin.im>
Pidgin
    
    
More information about the Tracker
mailing list