[gimp] app: Fix warning



commit dbf6b4d94402a76443caf15b8e58d3479dd728fa
Author: Martin Nordholts <martinn src gnome org>
Date:   Fri Aug 5 01:17:46 2011 +0200

    app: Fix warning

 app/display/gimpsinglewindowstrategy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpsinglewindowstrategy.c b/app/display/gimpsinglewindowstrategy.c
index a9d555e..5201cb3 100644
--- a/app/display/gimpsinglewindowstrategy.c
+++ b/app/display/gimpsinglewindowstrategy.c
@@ -79,7 +79,7 @@ gimp_single_window_strategy_create_dockable_dialog (GimpWindowStrategy *strategy
                                                     const gchar        *identifiers)
 {
   GList           *windows = gimp_get_image_windows (gimp);
-  GtkWidget       *widget;
+  GtkWidget       *widget  = NULL;
   GimpImageWindow *window;
 
   g_return_val_if_fail (g_list_length (windows) > 0, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]