mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-08 00:04:35 -04:00
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:
parent
8f2ae17f99
commit
43c9d51dac
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user