diff options
Diffstat (limited to 'gladeui/glade-property-class.h')
-rw-r--r-- | gladeui/glade-property-class.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/gladeui/glade-property-class.h b/gladeui/glade-property-class.h index a14a8622..b87edcf7 100644 --- a/gladeui/glade-property-class.h +++ b/gladeui/glade-property-class.h @@ -24,14 +24,14 @@ G_BEGIN_DECLS * * Checks if @gpc is good to be loaded as @type */ -#define GLADE_PROPERTY_CLASS_IS_TYPE(gpc, type) \ - (((type) == GLADE_PAGE_GENERAL && \ - !glade_property_class_common (gpc) && \ - !glade_property_class_get_is_packing (gpc) && \ - !glade_property_class_atk (gpc)) || \ - ((type) == GLADE_PAGE_COMMON && glade_property_class_common (gpc)) || \ +#define GLADE_PROPERTY_CLASS_IS_TYPE(gpc, type) \ + (((type) == GLADE_PAGE_GENERAL && \ + !glade_property_class_common (gpc) && \ + !glade_property_class_get_is_packing (gpc) && \ + !glade_property_class_atk (gpc)) || \ + ((type) == GLADE_PAGE_COMMON && glade_property_class_common (gpc)) || \ ((type) == GLADE_PAGE_PACKING && glade_property_class_get_is_packing (gpc)) || \ - ((type) == GLADE_PAGE_ATK && glade_property_class_atk (gpc)) || \ + ((type) == GLADE_PAGE_ATK && glade_property_class_atk (gpc)) || \ ((type) == GLADE_PAGE_QUERY && glade_property_class_query (gpc))) /** @@ -43,7 +43,7 @@ G_BEGIN_DECLS * Evaluates to %TRUE if @klass is available in its owning library version-@major_verion.@minor_version. * */ -#define GPC_VERSION_CHECK(klass, major_version, minor_version) \ +#define GPC_VERSION_CHECK(klass, major_version, minor_version) \ ((glade_property_class_since_major (GLADE_PROPERTY_CLASS (klass)) == major_version) ? \ (glade_property_class_since_minor (GLADE_PROPERTY_CLASS (klass)) <= minor_version) : \ (glade_property_class_since_major (GLADE_PROPERTY_CLASS (klass)) <= major_version)) @@ -56,45 +56,45 @@ typedef struct _GladePropertyClass GladePropertyClass; GladePropertyClass *glade_property_class_new (GladeWidgetAdaptor *adaptor, - const gchar *id); + const gchar *id); GladePropertyClass *glade_property_class_new_from_spec (GladeWidgetAdaptor *adaptor, - GParamSpec *spec); + GParamSpec *spec); GladePropertyClass *glade_property_class_new_from_spec_full (GladeWidgetAdaptor *adaptor, - GParamSpec *spec, - gboolean need_handle); + GParamSpec *spec, + gboolean need_handle); GladePropertyClass *glade_property_class_clone (GladePropertyClass *property_class, - gboolean reset_version); + gboolean reset_version); void glade_property_class_free (GladePropertyClass *property_class); void glade_property_class_set_adaptor (GladePropertyClass *property_class, - GladeWidgetAdaptor *adaptor); + GladeWidgetAdaptor *adaptor); GladeWidgetAdaptor *glade_property_class_get_adaptor (GladePropertyClass *property_class); void glade_property_class_set_pspec (GladePropertyClass *property_class, - GParamSpec *pspec); + GParamSpec *pspec); GParamSpec *glade_property_class_get_pspec (GladePropertyClass *property_class); void glade_property_class_set_is_packing (GladePropertyClass *property_class, - gboolean is_packing); + gboolean is_packing); gboolean glade_property_class_get_is_packing (GladePropertyClass *property_class); gboolean glade_property_class_save (GladePropertyClass *property_class); gboolean glade_property_class_save_always (GladePropertyClass *property_class); gboolean glade_property_class_is_visible (GladePropertyClass *property_class); gboolean glade_property_class_is_object (GladePropertyClass *property_class); void glade_property_class_set_virtual (GladePropertyClass *property_class, - gboolean value); + gboolean value); gboolean glade_property_class_get_virtual (GladePropertyClass *property_class); void glade_property_class_set_ignore (GladePropertyClass *property_class, - gboolean ignore); + gboolean ignore); gboolean glade_property_class_get_ignore (GladePropertyClass *property_class); void glade_property_class_set_name (GladePropertyClass *property_class, - const gchar *name); + const gchar *name); G_CONST_RETURN gchar *glade_property_class_get_name (GladePropertyClass *property_class); void glade_property_class_set_tooltip (GladePropertyClass *property_class, - const gchar *tooltip); + const gchar *tooltip); G_CONST_RETURN gchar *glade_property_class_get_tooltip (GladePropertyClass *property_class); G_CONST_RETURN gchar *glade_property_class_id (GladePropertyClass *property_class); gboolean glade_property_class_themed_icon (GladePropertyClass *property_class); void glade_property_class_set_construct_only (GladePropertyClass *property_class, - gboolean construct_only); + gboolean construct_only); gboolean glade_property_class_get_construct_only (GladePropertyClass *property_class); G_CONST_RETURN GValue *glade_property_class_get_default (GladePropertyClass *property_class); G_CONST_RETURN GValue *glade_property_class_get_original_default (GladePropertyClass *property_class); @@ -121,42 +121,42 @@ guint16 glade_property_class_since_minor (GladePropert gboolean glade_property_class_deprecated (GladePropertyClass *property_class); GValue *glade_property_class_make_gvalue_from_string (GladePropertyClass *property_class, - const gchar *string, - GladeProject *project); + const gchar *string, + GladeProject *project); gchar *glade_property_class_make_string_from_gvalue (GladePropertyClass *property_class, - const GValue *value); + const GValue *value); GValue *glade_property_class_make_gvalue_from_vl (GladePropertyClass *property_class, - va_list vl); + va_list vl); void glade_property_class_set_vl_from_gvalue (GladePropertyClass *klass, - GValue *value, - va_list vl); + GValue *value, + va_list vl); GValue *glade_property_class_make_gvalue (GladePropertyClass *klass, - ...); + ...); void glade_property_class_get_from_gvalue (GladePropertyClass *klass, - GValue *value, - ...); + GValue *value, + ...); gboolean glade_property_class_update_from_node (GladeXmlNode *node, - GType object_type, - GladePropertyClass **property_class, - const gchar *domain); + GType object_type, + GladePropertyClass **property_class, + const gchar *domain); GtkAdjustment *glade_property_class_make_adjustment (GladePropertyClass *property_class); gboolean glade_property_class_match (GladePropertyClass *klass, - GladePropertyClass *comp); + GladePropertyClass *comp); gboolean glade_property_class_void_value (GladePropertyClass *klass, - GValue *value); + GValue *value); gint glade_property_class_compare (GladePropertyClass *klass, - const GValue *value1, - const GValue *value2); + const GValue *value1, + const GValue *value2); GValue *glade_property_class_get_default_from_spec (GParamSpec *spec); |