summaryrefslogtreecommitdiff
path: root/plugins/gtk+/glade-entry-editor.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-02-11 01:07:48 +0100
committerJavier Jardón <jjardon@gnome.org>2010-02-11 01:14:01 +0100
commitf8bbea40f05850a40ebecd2d38378c59acc444e8 (patch)
tree78b283241227169fffc6c22e258ed19829054218 /plugins/gtk+/glade-entry-editor.c
parent82f055a72758a239d20b50893bd67855b0ff853c (diff)
Use accessor functions instead direct access. Third patch
Substitute GTK_WIDGET_REALIZED() and GTK_WIDGET_MAPPED() https://bugzilla.gnome.org/show_bug.cgi?id=594957
Diffstat (limited to 'plugins/gtk+/glade-entry-editor.c')
-rw-r--r--plugins/gtk+/glade-entry-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-entry-editor.c b/plugins/gtk+/glade-entry-editor.c
index e9bb1f98..bbd95895 100644
--- a/plugins/gtk+/glade-entry-editor.c
+++ b/plugins/gtk+/glade-entry-editor.c
@@ -63,7 +63,7 @@ project_changed (GladeProject *project,
GladeEntryEditor *entry_editor)
{
if (entry_editor->modifying ||
- !GTK_WIDGET_MAPPED (entry_editor))
+ !gtk_widget_get_mapped (GTK_WIDGET (entry_editor)))
return;
/* Reload on all commands */