summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-03-12 18:46:53 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-03-12 18:46:53 +0000
commit10a173fedf26019270363b2a8e86286e9ca4b437 (patch)
tree99c3a1ca5ba65a84b21a06ba70994be04985938c /gtk/gtkstyle.h
parenta647514c3393ef5d59b7b9ba11bcee1149519916 (diff)
downloadgtk+-10a173fedf26019270363b2a8e86286e9ca4b437.tar.gz
Switch to using an enum with registration for icon sizes, instead of
2001-03-12 Havoc Pennington <hp@redhat.com> * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: Switch to using an enum with registration for icon sizes, instead of strings. * gtkimage.h, gtkimage.c, gtkstyle.h, gtkstyle.c, gtkwidget.h, gtkwidget.c: Fix to reflect GtkIconSize
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index d52248ae4d..bcb02be505 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -157,7 +157,7 @@ struct _GtkStyleClass
const GtkIconSource *source,
GtkTextDirection direction,
GtkStateType state,
- const gchar *size,
+ GtkIconSize size,
GtkWidget *widget,
const gchar *detail);
@@ -413,7 +413,7 @@ GdkPixbuf * gtk_style_render_icon (GtkStyle *style,
const GtkIconSource *source,
GtkTextDirection direction,
GtkStateType state,
- const gchar * size,
+ GtkIconSize size,
GtkWidget *widget,
const gchar *detail);
void gtk_draw_hline (GtkStyle *style,