Bug 574561 – gtk_style_get "shadows" g_object_get
* gtk/gtk.symbols:
* gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
gtk_style_get_style_property to avoid problems for language
bindings. Pointed out by Torsten Schoenfeld.
svn path=/trunk/; revision=22502
This commit is contained in:
parent
4b497ad5e8
commit
013cd9bbda
6 changed files with 33 additions and 19 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2009-03-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 574561 – gtk_style_get "shadows" g_object_get
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
* gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
|
||||
gtk_style_get_style_property to avoid problems for language
|
||||
bindings. Pointed out by Torsten Schoenfeld.
|
||||
|
||||
2009-03-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 574622 – GtkEntry: Should we wrap icon-press and icon-release
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
2009-03-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtk-sections.txt: Rename gtk_style_get_property to
|
||||
gtk_style_get_style_property
|
||||
|
||||
2009-03-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.15.5 ===
|
||||
|
|
|
|||
|
|
@ -5779,7 +5779,7 @@ gtk_style_lookup_icon_set
|
|||
gtk_style_render_icon
|
||||
gtk_style_get_font
|
||||
gtk_style_set_font
|
||||
gtk_style_get_property
|
||||
gtk_style_get_style_property
|
||||
gtk_style_get_valist
|
||||
gtk_style_get
|
||||
gtk_draw_hline
|
||||
|
|
|
|||
|
|
@ -1279,7 +1279,7 @@ gtk_style_new
|
|||
gtk_style_render_icon
|
||||
gtk_style_set_background
|
||||
gtk_draw_insertion_cursor
|
||||
gtk_style_get_property
|
||||
gtk_style_get_style_property
|
||||
gtk_style_get_valist
|
||||
gtk_style_get
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1741,7 +1741,7 @@ style_property_values_cmp (gconstpointer bsearch_node1,
|
|||
}
|
||||
|
||||
/**
|
||||
* gtk_style_get_property:
|
||||
* gtk_style_get_style_property:
|
||||
* @style: a #GtkStyle
|
||||
* @widget_type: the #GType of a descendant of #GtkWidget
|
||||
* @property_name: the name of the style property to get
|
||||
|
|
@ -1754,10 +1754,10 @@ style_property_values_cmp (gconstpointer bsearch_node1,
|
|||
* Since: 2.16
|
||||
*/
|
||||
void
|
||||
gtk_style_get_property (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *property_name,
|
||||
GValue *value)
|
||||
gtk_style_get_style_property (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *property_name,
|
||||
GValue *value)
|
||||
{
|
||||
GtkWidgetClass *klass;
|
||||
GParamSpec *pspec;
|
||||
|
|
|
|||
|
|
@ -863,18 +863,18 @@ GtkBorder *gtk_border_new (void) G_GNUC_MALLOC;
|
|||
GtkBorder *gtk_border_copy (const GtkBorder *border_);
|
||||
void gtk_border_free (GtkBorder *border_);
|
||||
|
||||
void gtk_style_get_property (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
void gtk_style_get_valist (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *first_property_name,
|
||||
va_list var_args);
|
||||
void gtk_style_get (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *first_property_name,
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
void gtk_style_get_style_property (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
void gtk_style_get_valist (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *first_property_name,
|
||||
va_list var_args);
|
||||
void gtk_style_get (GtkStyle *style,
|
||||
GType widget_type,
|
||||
const gchar *first_property_name,
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
/* --- private API --- */
|
||||
const GValue* _gtk_style_peek_property_value (GtkStyle *style,
|
||||
|
|
|
|||
Loading…
Reference in a new issue