summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-11-26 01:27:19 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:49 +0100
commit4c1a2426d4f09f28421a595e6e89f77576efbf92 (patch)
treea24f307a3ebcbf5860acdf5a6183a1fa8af10b19 /gtk/gtkstyle.c
parent4aaf193602b95f56fff4844ab72d133e6064070d (diff)
downloadgtk+-4c1a2426d4f09f28421a595e6e89f77576efbf92.tar.gz
GtkStyle: Commit a few typos when translating states.
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 9fea0d3420..3310ebbf82 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -754,7 +754,7 @@ gtk_style_update_from_context (GtkStyle *style)
if (style->font_desc)
pango_font_description_free (style->font_desc);
- gtk_style_context_get (priv->context, state,
+ gtk_style_context_get (priv->context, 0,
"font", &style->font_desc,
"padding", &padding,
NULL);
@@ -2869,7 +2869,7 @@ gtk_default_draw_shadow_gap (GtkStyle *style,
switch (state_type)
{
case GTK_STATE_ACTIVE:
- flags |= GTK_STATE_ACTIVE;
+ flags |= GTK_STATE_FLAG_ACTIVE;
break;
case GTK_STATE_PRELIGHT:
flags |= GTK_STATE_FLAG_PRELIGHT;
@@ -2935,7 +2935,7 @@ gtk_default_draw_box_gap (GtkStyle *style,
switch (state_type)
{
case GTK_STATE_ACTIVE:
- flags |= GTK_STATE_ACTIVE;
+ flags |= GTK_STATE_FLAG_ACTIVE;
break;
case GTK_STATE_PRELIGHT:
flags |= GTK_STATE_FLAG_PRELIGHT;
@@ -3005,7 +3005,7 @@ gtk_default_draw_extension (GtkStyle *style,
switch (state_type)
{
case GTK_STATE_ACTIVE:
- flags |= GTK_STATE_ACTIVE;
+ flags |= GTK_STATE_FLAG_ACTIVE;
break;
case GTK_STATE_PRELIGHT:
flags |= GTK_STATE_FLAG_PRELIGHT;