+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() 
+


svn path=/trunk/; revision=9111
This commit is contained in:
Søren Sandmann Pedersen 2008-10-24 23:05:28 +00:00
parent 2d77d32397
commit d552cfc0f3
3 changed files with 8 additions and 32 deletions

View file

@ -1,3 +1,8 @@
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()
Fri Oct 24 18:38:47 2008 Søren Sandmann <sandmann@redhat.com>
* capplet-util.c (capplet_init): Only call

View file

@ -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 @@ 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,

View file

@ -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 @@ 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,