add a property editor for GtkTreeView and fix crashes with all peditors if
2007-05-18 Jens Granseuer <jensgr@gmx.net> * gconf-property-editor.c: (peditor_boolean_value_changed), (peditor_integer_value_changed), (peditor_string_value_changed), (peditor_color_value_changed), (peditor_select_menu_value_changed), (peditor_combo_box_value_changed), (peditor_select_radio_value_changed), (peditor_numeric_range_value_changed), (peditor_font_value_changed), (peditor_image_value_changed), (gconf_peditor_new_select_radio_with_enum), (peditor_tree_view_value_changed), (peditor_tree_view_widget_changed), (gconf_peditor_new_tree_view): * gconf-property-editor.h: add a property editor for GtkTreeView and fix crashes with all peditors if the requested key is not available svn path=/trunk/; revision=7636
This commit is contained in:
parent
c550a6de32
commit
9bc2394d4e
3 changed files with 129 additions and 30 deletions
|
@ -52,7 +52,7 @@ struct _GConfPropertyEditorClass
|
|||
{
|
||||
GObjectClass g_object_class;
|
||||
|
||||
void (*value_changed) (GConfPropertyEditor *peditor, gchar *key, GConfValue *value);
|
||||
void (*value_changed) (GConfPropertyEditor *peditor, gchar *key, const GConfValue *value);
|
||||
};
|
||||
|
||||
GType gconf_property_editor_get_type (void);
|
||||
|
@ -158,6 +158,12 @@ GObject *gconf_peditor_new_image (GConfChangeSet *changeset,
|
|||
const gchar *first_property,
|
||||
...);
|
||||
|
||||
GObject *gconf_peditor_new_tree_view (GConfChangeSet *changeset,
|
||||
const gchar *key,
|
||||
GtkWidget *tree_view,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
|
||||
void gconf_peditor_widget_set_guard (GConfPropertyEditor *peditor,
|
||||
GtkWidget *widget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue