summaryrefslogtreecommitdiff
path: root/src/glade-property-class.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2006-11-21 04:47:16 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2006-11-21 04:47:16 +0000
commite6484fc8f940759509559c15585674a9924b1ec1 (patch)
tree77a8f11927619c20ac7fc40de0f1e6f1cda6dcad /src/glade-property-class.c
parent45db3756e881b1b3819a21a571610e49bbd20bac (diff)
downloadglade-e6484fc8f940759509559c15585674a9924b1ec1.tar.gz
- glade_property_set_enabled(), when enableing a property, sync its value
* src/glade-property.c: - glade_property_set_enabled(), when enableing a property, sync its value incase it has any visual feedback. - removed the horrid code that dealt with the project and selection when calling glade_widget_rebuild() - use new glade_widget_object_set_property()/glade_widget_child_set_property(). * src/glade-widget.c: - glade_widget_rebuild(), added the afore mentioned horrid code - doesnt seem so horrid over here. - added apis to proxy property setting onto the object (via the gwa). - Now sync all properties again at sync_custom_props() time (since there's no set_function anymore and property->class->virtual isnt enough). * src/glade-design-layout.c: Added commented alternative code for resizing, TODO remove the direct property setting stuff and handle it somewhere appropriate. * src/glade-fixed.c: Commented out a g_return_if_fail and temporarily put an if (statement) return; need to work on handling events differently now (its no big deal, there are just some extra events now comming from the toplevels at focus change times and stuff that are irrelevent to the glade widgets and so the code complains). * src/glade-gnome.c, src/glade-gtk.c: Ported to the new api for set_property/get_property/verify_property. * src/glade-property-class.[ch]: Removed get/set/verify property backend hooks * src/glade-widget-adaptor.[ch]: Added get/set/verify property backend hooks, now the adaptor is a solid self-contained proxy to the plugin.
Diffstat (limited to 'src/glade-property-class.c')
-rw-r--r--src/glade-property-class.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/glade-property-class.c b/src/glade-property-class.c
index 34624428..c766e9a6 100644
--- a/src/glade-property-class.c
+++ b/src/glade-property-class.c
@@ -160,9 +160,6 @@ glade_property_class_new (gpointer handle)
property_class->common = FALSE;
property_class->packing = FALSE;
property_class->is_modified = FALSE;
- property_class->verify_function = NULL;
- property_class->set_function = NULL;
- property_class->get_function = NULL;
property_class->visible = TRUE;
property_class->save = TRUE;
property_class->ignore = FALSE;
@@ -1690,12 +1687,6 @@ glade_property_class_update_from_node (GladeXmlNode *node,
glade_xml_get_property_boolean (node, GLADE_TAG_OPTIONAL_DEFAULT,
class->optional_default);
- /* Get any delagate functions for accessing this property
- */
- glade_xml_load_sym_from_node (node, module, GLADE_TAG_SET_FUNCTION, (gpointer *)&class->set_function);
- glade_xml_load_sym_from_node (node, module, GLADE_TAG_GET_FUNCTION, (gpointer *)&class->get_function);
- glade_xml_load_sym_from_node (node, module, GLADE_TAG_VERIFY_FUNCTION, (gpointer *)&class->verify_function);
-
/* notify that we changed the property class */
class->is_modified = TRUE;