+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:
parent
2d77d32397
commit
d552cfc0f3
3 changed files with 8 additions and 32 deletions
|
@ -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>
|
Fri Oct 24 18:38:47 2008 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* capplet-util.c (capplet_init): Only call
|
* capplet-util.c (capplet_init): Only call
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "gconf-property-editor.h"
|
#include "gconf-property-editor.h"
|
||||||
#include "gconf-property-editor-marshal.h"
|
#include "gconf-property-editor-marshal.h"
|
||||||
|
@ -647,32 +648,6 @@ gconf_peditor_new_string (GConfChangeSet *changeset,
|
||||||
return peditor;
|
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
|
static void
|
||||||
peditor_color_value_changed (GConfClient *client,
|
peditor_color_value_changed (GConfClient *client,
|
||||||
guint cnxn_id,
|
guint cnxn_id,
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
#ifndef __GCONF_PROPERTY_EDITOR_H
|
#ifndef __GCONF_PROPERTY_EDITOR_H
|
||||||
#define __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-client.h>
|
||||||
#include <gconf/gconf-changeset.h>
|
#include <gconf/gconf-changeset.h>
|
||||||
|
|
||||||
|
@ -87,11 +88,6 @@ GObject *gconf_peditor_new_string (GConfChangeSet *changeset,
|
||||||
GtkWidget *entry,
|
GtkWidget *entry,
|
||||||
const gchar *first_property_name,
|
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,
|
GObject *gconf_peditor_new_color (GConfChangeSet *changeset,
|
||||||
const gchar *key,
|
const gchar *key,
|
||||||
GtkWidget *color_entry,
|
GtkWidget *color_entry,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue