diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog index b03be5766..3a5240e7b 100644 --- a/capplets/common/ChangeLog +++ b/capplets/common/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 24 19:04:38 2008 Søren Sandmann + + * gconf-property-editor.c: Delete unused function + gconf_property_editor_new_filename() + Fri Oct 24 18:38:47 2008 Søren Sandmann * capplet-util.c (capplet_init): Only call diff --git a/capplets/common/gconf-property-editor.c b/capplets/common/gconf-property-editor.c index 76b1e0e72..116591b36 100644 --- a/capplets/common/gconf-property-editor.c +++ b/capplets/common/gconf-property-editor.c @@ -27,6 +27,7 @@ #include #include +#include #include "gconf-property-editor.h" #include "gconf-property-editor-marshal.h" @@ -647,32 +648,6 @@ gconf_peditor_new_string (GConfChangeSet *changeset, return peditor; } -GObject * -gconf_peditor_new_filename (GConfChangeSet *changeset, - const gchar *key, - GtkWidget *file_entry, - const gchar *first_property_name, - ...) -{ - GObject *peditor; - va_list var_args; - - g_return_val_if_fail (key != NULL, NULL); - g_return_val_if_fail (file_entry != NULL, NULL); - g_return_val_if_fail (GNOME_IS_FILE_ENTRY (file_entry), NULL); - - va_start (var_args, first_property_name); - - peditor = gconf_peditor_new_string_valist - (changeset, key, - gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (file_entry)), - first_property_name, var_args); - - va_end (var_args); - - return peditor; -} - static void peditor_color_value_changed (GConfClient *client, guint cnxn_id, diff --git a/capplets/common/gconf-property-editor.h b/capplets/common/gconf-property-editor.h index 846185167..5f39c7e7d 100644 --- a/capplets/common/gconf-property-editor.h +++ b/capplets/common/gconf-property-editor.h @@ -24,7 +24,8 @@ #ifndef __GCONF_PROPERTY_EDITOR_H #define __GCONF_PROPERTY_EDITOR_H -#include +#include +#include #include #include @@ -87,11 +88,6 @@ GObject *gconf_peditor_new_string (GConfChangeSet *changeset, GtkWidget *entry, const gchar *first_property_name, ...); -GObject *gconf_peditor_new_filename (GConfChangeSet *changeset, - const gchar *key, - GtkWidget *file_entry, - const gchar *first_property_name, - ...); GObject *gconf_peditor_new_color (GConfChangeSet *changeset, const gchar *key, GtkWidget *color_entry,