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

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


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

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

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

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

diff --git a/src/xfce_theme_draw.c b/src/xfce_theme_draw.c
index 4226d25..ef5bc4c 100644
--- a/src/xfce_theme_draw.c
+++ b/src/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