gnome-control-center r9111 - trunk/capplets/common



Author: ssp
Date: Fri Oct 24 23:05:28 2008
New Revision: 9111
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9111&view=rev

Log:
+Fri Oct 24 19:04:38 2008  SÃren Sandmann  <sandmann redhat com>
+
+	* gconf-property-editor.c: Delete unused function
+	gconf_property_editor_new_filename() 
+



Modified:
   trunk/capplets/common/ChangeLog
   trunk/capplets/common/gconf-property-editor.c
   trunk/capplets/common/gconf-property-editor.h

Modified: trunk/capplets/common/gconf-property-editor.c
==============================================================================
--- trunk/capplets/common/gconf-property-editor.c	(original)
+++ trunk/capplets/common/gconf-property-editor.c	Fri Oct 24 23:05:28 2008
@@ -27,6 +27,7 @@
 
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #include "gconf-property-editor.h"
 #include "gconf-property-editor-marshal.h"
@@ -647,32 +648,6 @@
 	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,

Modified: trunk/capplets/common/gconf-property-editor.h
==============================================================================
--- trunk/capplets/common/gconf-property-editor.h	(original)
+++ trunk/capplets/common/gconf-property-editor.h	Fri Oct 24 23:05:28 2008
@@ -24,7 +24,8 @@
 #ifndef __GCONF_PROPERTY_EDITOR_H
 #define __GCONF_PROPERTY_EDITOR_H
 
-#include <gnome.h>
+#include <gtk/gtk.h>
+#include <glib/gi18n.h>
 #include <gconf/gconf-client.h>
 #include <gconf/gconf-changeset.h>
 
@@ -87,11 +88,6 @@
 					 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]