summaryrefslogtreecommitdiff
path: root/capplets/background/background-properties-capplet.c
diff options
context:
space:
mode:
authorBradford Hovinen <hovinen@ximian.com>2001-12-20 20:14:59 +0000
committerBradford Hovinen (Gdict maintainer) <hovinen@src.gnome.org>2001-12-20 20:14:59 +0000
commitfb0d2898558e709ec143f4d165d2f605544c7837 (patch)
treeec505534e81fd931c243e081c327046bbe8e057e /capplets/background/background-properties-capplet.c
parent7ec25076f06a01ae7091a563bdcd8ddcfde56b0a (diff)
downloadgnome-control-center-fb0d2898558e709ec143f4d165d2f605544c7837.tar.gz
Fold the callback back in; accept variable argument list with extra
2001-12-20 Bradford Hovinen <hovinen@ximian.com> * gconf-property-editor.c (gconf_peditor_new): Fold the callback back in; accept variable argument list with extra parameters (gconf_peditor_new_filename): Return the property editor (gconf_peditor_new_string_valist): Split this out (gconf_peditor_new_string): Call _valist variant (gconf_peditor_new*): Update * */*-properties*.c: Update according to above
Diffstat (limited to 'capplets/background/background-properties-capplet.c')
-rw-r--r--capplets/background/background-properties-capplet.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/capplets/background/background-properties-capplet.c b/capplets/background/background-properties-capplet.c
index 31f056d1c..9782a7502 100644
--- a/capplets/background/background-properties-capplet.c
+++ b/capplets/background/background-properties-capplet.c
@@ -202,27 +202,27 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset, BGApplier *bg_applier
g_object_set_data (prefs, "applier", bg_applier);
peditor = gconf_peditor_new_select_menu
- (changeset, "/desktop/gnome/background/orientation", WID ("color_option"));
+ (changeset, "/desktop/gnome/background/orientation", WID ("color_option"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
peditor = gconf_peditor_new_color
- (changeset, "/desktop/gnome/background/color1", WID ("colorpicker1"));
+ (changeset, "/desktop/gnome/background/color1", WID ("colorpicker1"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
peditor = gconf_peditor_new_color
- (changeset, "/desktop/gnome/background/color2", WID ("colorpicker2"));
+ (changeset, "/desktop/gnome/background/color2", WID ("colorpicker2"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
peditor = gconf_peditor_new_filename
- (changeset, "/desktop/gnome/background/wallpaper-filename", WID ("image_fileentry"));
+ (changeset, "/desktop/gnome/background/wallpaper-filename", WID ("image_fileentry"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
peditor = gconf_peditor_new_select_menu
- (changeset, "/desktop/gnome/background/wallpaper-type", WID ("image_option"));
+ (changeset, "/desktop/gnome/background/wallpaper-type", WID ("image_option"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
peditor = gconf_peditor_new_boolean
- (changeset, "/desktop/gnome/background/wallpaper-enabled", WID ("picture_enabled_check"));
+ (changeset, "/desktop/gnome/background/wallpaper-enabled", WID ("picture_enabled_check"), NULL);
g_signal_connect (peditor, "value-changed", (GCallback) peditor_value_changed, prefs);
gconf_peditor_widget_set_guard (GCONF_PROPERTY_EDITOR (peditor), WID ("picture_frame"));