[gtk+/gtk-style-context: 522/533] GtkStyle: Commit a few typos when translating states.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 522/533] GtkStyle: Commit a few typos when translating states.
- Date: Wed, 1 Dec 2010 02:49:44 +0000 (UTC)
commit 330d42933684e9c3501f2f35e3b533f991299837
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Nov 26 01:27:19 2010 +0100
GtkStyle: Commit a few typos when translating states.
gtk/gtkstyle.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 9fea0d3..3310ebb 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]