diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-02-11 10:30:46 +0800 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-02-11 22:48:02 +0800 |
commit | eb55fc7974c51d26ec5e539d7214787d1fac9a07 (patch) | |
tree | a2cbab1f74151926bfc051a6dfc5569f0fb8e3a2 /lib/widgets/ephy-location-entry.c | |
parent | 77c212067ef3f33c01a39a276f729d4099cb572b (diff) | |
download | gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.gz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.bz2 gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.lz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.xz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.zst gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.zip |
Use accessor functions instead direct access
Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED()
GTK+ required version bumped to 2.19.5
https://bugzilla.gnome.org/show_bug.cgi?id=595791
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 4887f73e0..cf347893c 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -1327,7 +1327,7 @@ ephy_location_entry_set_location (EphyLocationEntry *entry, * bug #155824. So we save the selection iff the clipboard was owned by * the location entry. */ - if (GTK_WIDGET_REALIZED (GTK_WIDGET (priv->entry))) + if (gtk_widget_get_realized (GTK_WIDGET (priv->entry))) { clipboard = gtk_widget_get_clipboard (priv->entry, GDK_SELECTION_PRIMARY); |