diff options
Diffstat (limited to 'examples/simple-view.c')
-rw-r--r-- | examples/simple-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/simple-view.c b/examples/simple-view.c index b517ace4..e1f39878 100644 --- a/examples/simple-view.c +++ b/examples/simple-view.c @@ -33,16 +33,16 @@ key_changed_callback(GConfClient* client, label = GTK_WIDGET(user_data); - if (entry->value == NULL) + if (gconf_entry_get_value (entry) == NULL) { gtk_label_set_text (GTK_LABEL (label), "<unset>"); } else { - if (entry->value->type == GCONF_VALUE_STRING) + if (gconf_entry_get_value (entry)->type == GCONF_VALUE_STRING) { gtk_label_set_text (GTK_LABEL (label), - gconf_value_get_string (entry->value)); + gconf_value_get_string (gconf_entry_get_value (entry))); } else { |