fix the build (and remove the last remanants of the "queries").

2004-05-10  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* 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.
This commit is contained in:
Joaquin Cuenca Abela 2004-05-10 17:30:56 +00:00 committed by Joaquín Cuenca Abela
parent 8f2ae17f99
commit 43c9d51dac
4 changed files with 8 additions and 28 deletions

View File

@ -1,3 +1,10 @@
2004-05-10 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* 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 <e98cuenc@yahoo.com>
* src/glade-property.c: don't save invisible properties.

View File

@ -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;

View File

@ -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

View File

@ -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)
{