[Xfce4-commits] [xfce/gtk-xfce-engine] 01/06: Fixed used before set variable.

noreply at xfce.org noreply at xfce.org
Wed Feb 18 21:36:24 CET 2015


This is an automated email from the git hooks/post-receive script.

peter pushed a commit to branch master
in repository xfce/gtk-xfce-engine.

commit 1c841853490ec9bb4c7b1d403519eb8d18158e24
Author: Peter de Ridder <peter at xfce.org>
Date:   Wed Feb 18 20:10:02 2015 +0100

    Fixed used before set variable.
---
 gtk-2.0/xfce_theme_draw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtk-2.0/xfce_theme_draw.c b/gtk-2.0/xfce_theme_draw.c
index 4226d25..ef5bc4c 100644
--- a/gtk-2.0/xfce_theme_draw.c
+++ b/gtk-2.0/xfce_theme_draw.c
@@ -415,7 +415,7 @@ static void draw_shadow(GtkStyle * style, GdkWindow * window, GtkStateType state
         if (DETAIL("spinbutton"))
         {
             gint line_width = 0;
-            gboolean interior_focus;
+            gboolean interior_focus = FALSE;
             if (gtk_widget_has_focus(widget))
                 gtk_widget_style_get(widget, "focus-line-width", &line_width, "interior-focus", &interior_focus, NULL);
             if (interior_focus)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list