Re: gtkmm affected by recent changes to gtk (GdkNativeWindow, gtk_toolbar_[gs]et_tooltips)



On Mon, 2008-09-15 at 12:16 +0200, Murray Cumming wrote:
> On Sun, 2008-09-14 at 22:07 -0400, Damon Register wrote:
> > This weekend I tried to setup gtk, gtkmm etc. on a new PC using some
> > instructions I made for myself a few months ago when I first tried
> > to setup gtk, gtkmm, glade on windows with MinGW and msys.  This
> > time around I noticed some newer versions of a few things but that
> > didn't seem to be a problem.   The trouble started when I tried to
> > build gtkmm-2.12.7 and got a few compile errors.
> > 
> > The first error was with gtkmm-2.12.7\gdk\gdkmm\display.cc and .h
> > With a little searching Google I found this that explained the first error
> > http://mail.gnome.org/archives/svn-commits-list/2008-August/msg00974.html
> > It seemed relatively simple so I replaced with the new GdkNativeWindow
> > just as the c versions use.  Does this seem reasonable/correct?
> 
> Are you showing us the problem or the solution? Could you please be
> clearer about what the problem is. And if you have a solution, could you
> submit it as a patch, please?
> 
> However, I know that Armin has almost finished the new gtkmm Windows
> installer, so maybe this has already been fixed anyway.

I think the problem here is compiling gtkmm 2.12 against GTK+ 2.14,
since I built gtkmm 2.12.7 without compilation problems on Windows. I
will have a look at this in a day or two.

> > -------------------------------------
> > gtkmm-2.12.7\gdk\gdkmm\display.cc .h
> > 
> > void selection_send_notify(GdkNativeWindow requestor, Glib::ustring&
> > selection, Glib::ustring& target, Glib::ustring& property, guint32 time_);
> > 
> > GdkNativeWindow get_drag_protocol(GdkNativeWindow xid, GdkDragProtocol&
> > protocol);
> > 
> > -------------------------------------
> > gtkmm-2.12.7\gdk\gdkmm\display.cc .h
> > 
> > void Display::selection_send_notify(GdkNativeWindow requestor,
> > Glib::ustring& selection, Glib::ustring& target, Glib::ustring&
> > property, guint32 time_)
> > {
> >    gdk_selection_send_notify_for_display(gobj(), requestor,
> > Gdk::AtomString::to_c_type(selection),
> > Gdk::AtomString::to_c_type(target),
> > Gdk::AtomString::to_c_type(property), time_);
> > }
> > 
> > gtkmm-2.12.7\gdk\gdkmm\display.cc .h
> > GdkNativeWindow Display::get_drag_protocol(GdkNativeWindow xid,
> > GdkDragProtocol& protocol)
> > {
> >    return gdk_drag_get_protocol_for_display(gobj(), xid, &(protocol));
> > }
> > 
> > -------------------------------------
> > 
> > The second problem seems to be addressed by this one.
> > http://mail.gnome.org/archives/svn-commits-list/2008-July/msg00245.html
> > 
> > This one isn't so obvious for me and I haven't figured out a fix for it
> > yet.
> > 
> > I have a few questions.
> > 
> > 1.  Did I correctly fix the GdkNativeWindow problem?
> > 
> > 2.  What is the fix for the tooltip problem?
> > 
> > 3.  Is anyone already working on an update to gtkmm to handle the recent
> >      changes to gtk?
> > 
> > 4.  If the answer to question 3 is no, should I submit a bug report?
> > 
> > Damon Register
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list

Armin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]