From d552cfc0f3d64da452a49b976b6bfb96b5e3a805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Fri, 24 Oct 2008 23:05:28 +0000 Subject: [PATCH] =?UTF-8?q?+Fri=20Oct=2024=2019:04:38=202008=20=20S=C3=B8r?= =?UTF-8?q?en=20Sandmann=20=20=20+=20+=09*=20gconf-pr?= =?UTF-8?q?operty-editor.c:=20Delete=20unused=20function=20+=09gconf=5Fpro?= =?UTF-8?q?perty=5Feditor=5Fnew=5Ffilename()=20+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=9111 --- capplets/common/ChangeLog | 5 +++++ capplets/common/gconf-property-editor.c | 27 +------------------------ capplets/common/gconf-property-editor.h | 8 ++------ 3 files changed, 8 insertions(+), 32 deletions(-) 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,