summaryrefslogtreecommitdiff
path: root/examples/simple-view.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-04-27 15:25:14 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-04-27 15:25:14 +0000
commit8753c2dae812a4006ef2935e0faaed96d5d00cee (patch)
tree0f0b45f1a3d7a08ce5723589808420267c7f4292 /examples/simple-view.c
parentb50855d390b0556c99b546be680fafe6f89eebd4 (diff)
downloadgconf-8753c2dae812a4006ef2935e0faaed96d5d00cee.tar.gz
make the internal functions static
2002-04-26 Havoc Pennington <hp@pobox.com> * gconf/gconf-changeset.c: make the internal functions static * gconf/gconf-internals.c (byte_type): make static (get_hostname): remove * gconf/gconfd.c (add_client): set the maximum connection buffer to a reasonable-size value in order to handle locked-up clients. * backends/xml-entry.c (node_set_schema_value): opacity fixes * gconf/gconftool.c (list_pairs_in_dir): opacity fixes * gconf/gconf.c: opacity fixes (gconf_engine_get_for_address): remove the g_warning about using this function; the change notification is a bit broken but maybe it's still useful. * gconf/gconf-sources.c: opacity fixes * gconf/gconf-database.c: namespace fixes * gconf/gconf-internals.h: namespace some things * gconf/gconf-internals.c: opacity fixes (fill_corba_schema_from_gconf_schema): make static (corba_schema_from_gconf_schema): make static * gconf/gconf-schema.c: do groundwork to make GConfSchema opaque, and fix some lack of spaces before parens * gconf/gconf-value.c: do groundwork to make GConfEntry mostly opaque (implement with GConfRealEntry)
Diffstat (limited to 'examples/simple-view.c')
-rw-r--r--examples/simple-view.c6
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
{