constify a number of function arguments
2007-05-09 Jens Granseuer <jensgr@gmx.net> * gconf-property-editor.c: (gconf_peditor_new), (gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist), (gconf_peditor_new_integer), (gconf_peditor_new_string_valist), (gconf_peditor_new_string), (gconf_peditor_new_filename), (gconf_peditor_new_color), (gconf_peditor_new_select_menu), (gconf_peditor_new_select_menu_with_enum), (gconf_peditor_new_combo_box), (gconf_peditor_new_combo_box_with_enum), (gconf_peditor_new_select_radio), (gconf_peditor_new_numeric_range), (gconf_peditor_new_font), (gconf_peditor_new_enum_toggle), (gconf_peditor_new_image), (gconf_peditor_new_select_radio_with_enum): * gconf-property-editor.h: constify a number of function arguments svn path=/trunk/; revision=7588
This commit is contained in:
parent
cf66c0fd80
commit
d3cad0bcbe
3 changed files with 107 additions and 98 deletions
|
@ -61,103 +61,101 @@ const gchar *gconf_property_editor_get_key (GConfPropertyEditor *peditor
|
|||
GObject *gconf_property_editor_get_ui_control (GConfPropertyEditor *peditor);
|
||||
|
||||
GObject *gconf_peditor_new_boolean (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *checkbox,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_enum_toggle (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *checkbox,
|
||||
GType enum_type,
|
||||
GConfPEditorGetValueFn val_true_fn,
|
||||
guint val_false,
|
||||
gboolean use_nick,
|
||||
gpointer data,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_integer (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *entry,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
GObject *gconf_peditor_new_string (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *entry,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
GObject *gconf_peditor_new_filename (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *file_entry,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
GObject *gconf_peditor_new_color (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *color_entry,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_select_menu (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *option_menu,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
|
||||
GObject *gconf_peditor_new_select_menu_with_enum (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *option_menu,
|
||||
GType enum_type,
|
||||
gboolean use_nick,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_combo_box (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *combo_box,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
|
||||
GObject *gconf_peditor_new_combo_box_with_enum (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *combo_box,
|
||||
GType enum_type,
|
||||
gboolean use_nick,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_select_radio (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GSList *radio_group,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_select_radio_with_enum (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GSList *radio_group,
|
||||
GType enum_type,
|
||||
gboolean use_nick,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_numeric_range (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *range,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_font (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *font_button,
|
||||
gchar *first_property_name,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_image (GConfChangeSet *changeset,
|
||||
gchar *key,
|
||||
const gchar *key,
|
||||
GtkWidget *button,
|
||||
gchar *first_property,
|
||||
const gchar *first_property,
|
||||
...);
|
||||
|
||||
void gconf_peditor_widget_set_guard (GConfPropertyEditor *peditor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue