[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTK_WIDGET_FLAGS deprecation
From: |
John Darrington |
Subject: |
Re: GTK_WIDGET_FLAGS deprecation |
Date: |
Sun, 22 May 2011 08:24:58 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Make distcheck now gives:
ERROR: files left in build directory after distclean:
./src/ui/gui/include/gtk/gtk.h
make[1]: *** [distcleancheck] Fehler 1
On Sat, May 07, 2011 at 10:36:22AM -0700, Ben Pfaff wrote:
John Darrington <address@hidden> writes:
> commit ef7f207a277f2fa2710115bd21b9c2147860f5af
> Author: Ben Pfaff <address@hidden>
> Date: Fri May 6 20:56:18 2011 -0700
>
> gui: Provide substitute for gtk_widget_get_realized() for GTK+ <
2.20.
>
>
> This really needs to be used in a number of other places too. So moving
this
> function somewhere else (probably helper.h) would be useful.
>
> Similar wrapper functions that we need include:
>
> gtk_widget_get_mapped
> gtk_widget_get_visible
> gtk_widget_is_drawable
> gtk_widget_has_focus
> gtk_widget_set_can_focus
OK, I added a <gtk/gtk.h> wrapper header that takes care of this.
--
Ben Pfaff
http://benpfaff.org
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature