[gimp] app: Cleanup actions/windows-commands.c from last commit



commit a5ef19fb5949e267b5736ffda5510f7af2731f59
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Dec 19 09:29:35 2009 +0100

    app: Cleanup actions/windows-commands.c from last commit
    
    I forgot to rename a function and initialie a variable.

 app/actions/windows-commands.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/actions/windows-commands.c b/app/actions/windows-commands.c
index af68ae7..a3347e7 100644
--- a/app/actions/windows-commands.c
+++ b/app/actions/windows-commands.c
@@ -41,11 +41,11 @@
 #include "windows-commands.h"
 
 
-static GtkWidget * gimp_dialog_factory_get_toolbox (GimpDialogFactory *toolbox_factory);
+static GtkWidget * windows_commands_get_toolbox (GimpDialogFactory *toolbox_factory);
 
 
 static GtkWidget *
-gimp_dialog_factory_get_toolbox (GimpDialogFactory *toolbox_factory)
+windows_commands_get_toolbox (GimpDialogFactory *toolbox_factory)
 {
   GList *list = NULL;
 
@@ -122,7 +122,7 @@ windows_open_recent_cmd_callback (GtkAction *action,
 void
 windows_show_toolbox (void)
 {
-  GtkWidget *toolbox;
+  GtkWidget *toolbox = NULL;
 
   if (! global_toolbox_factory->open_dialogs)
     {
@@ -133,7 +133,7 @@ windows_show_toolbox (void)
     }
   else
     {
-      toolbox = gimp_dialog_factory_get_toolbox (global_toolbox_factory);
+      toolbox = windows_commands_get_toolbox (global_toolbox_factory);
 
       if (toolbox)
         gtk_window_present (GTK_WINDOW (toolbox));



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