diff --git a/ChangeLog b/ChangeLog index 1238e630..8718a2d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-05-10 Joaquin Cuenca Abela + + * src/glade-widget-class.c, glade-widget-class.c: fix the build + (and remove the last remanants of the "queries"). + + * src/glade-property.h: fix a typo. + 2004-05-09 Joaquin Cuenca Abela * src/glade-property.c: don't save invisible properties. diff --git a/src/glade-property-class.c b/src/glade-property-class.c index e2fb7440..0db704f6 100644 --- a/src/glade-property-class.c +++ b/src/glade-property-class.c @@ -115,7 +115,6 @@ glade_property_class_new (void) property_class->common = FALSE; property_class->packing = FALSE; property_class->is_modified = FALSE; - property_class->query = NULL; property_class->set_function = NULL; property_class->get_function = NULL; diff --git a/src/glade-property.h b/src/glade-property.h index a54cea09..0302be3e 100644 --- a/src/glade-property.h +++ b/src/glade-property.h @@ -25,7 +25,7 @@ struct _GladeProperty GValue *value; /* The value of the property */ - gboolean enabled; /* Enables is a flag that is used for GladeProperties + gboolean enabled; /* Enabled is a flag that is used for GladeProperties * that have the optional flag set to let us know * if this widget has this GladeSetting enabled or * not. (Like default size, it can be specified or diff --git a/src/glade-widget-class.c b/src/glade-widget-class.c index ddbabf1e..f539678c 100644 --- a/src/glade-widget-class.c +++ b/src/glade-widget-class.c @@ -734,32 +734,6 @@ glade_widget_class_get_type (GladeWidgetClass *widget) return widget->type; } -/** - * glade_widget_class_has_queries: - * @class: - * - * A way to know if this class has a property that requires us to query the - * user before creating the widget. - * - * Return Value: TRUE if the GladeWidgetClass requires a query to the user - * before creationg. - **/ -gboolean -glade_widget_class_has_queries (GladeWidgetClass *class) -{ - GladePropertyClass *property_class; - GList *list; - - for (list = class->properties; list; list = list->next) - { - property_class = list->data; - if (property_class->query != NULL) - return TRUE; - } - - return FALSE; -} - gboolean glade_widget_class_has_property (GladeWidgetClass *class, const gchar *name) {