[gnome-commander] Removed unused code



commit e986fee33467bb5625998e4c8b2cc7ca9380f43e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Dec 6 18:26:49 2009 +0100

    Removed unused code

 libgcmd/libgcmd-widget-factory.c |   22 ----------------------
 libgcmd/libgcmd-widget-factory.h |    2 --
 2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/libgcmd/libgcmd-widget-factory.c b/libgcmd/libgcmd-widget-factory.c
index f7e022a..4bfb28b 100644
--- a/libgcmd/libgcmd-widget-factory.c
+++ b/libgcmd/libgcmd-widget-factory.c
@@ -658,25 +658,3 @@ create_error_dialog (const gchar *msg, ...)
 
     gtk_widget_show (dialog);
 }
-
-
-void
-create_warning_dialog (const gchar *msg, ...)
-{
-    va_list      argptr;
-    gchar        string[1024];
-    GtkWidget    *dialog;
-
-    va_start (argptr, msg);
-    vsprintf (string, msg, argptr);
-    va_end (argptr);
-
-    dialog = gtk_message_dialog_new (
-        GTK_WINDOW (main_win_widget), GTK_DIALOG_MODAL,
-        GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, msg);
-
-    gtk_signal_connect (GTK_OBJECT (dialog), "response",
-                        GTK_SIGNAL_FUNC (on_response), dialog);
-
-    gtk_widget_show (dialog);
-}
diff --git a/libgcmd/libgcmd-widget-factory.h b/libgcmd/libgcmd-widget-factory.h
index f88ec08..1a00f17 100644
--- a/libgcmd/libgcmd-widget-factory.h
+++ b/libgcmd/libgcmd-widget-factory.h
@@ -117,8 +117,6 @@ const char *get_entry_text (GtkWidget *parent, gchar *entry_name);
 
 void create_error_dialog (const gchar *msg, ...);
 
-void create_warning_dialog (const gchar *msg, ...);
-
 G_END_DECLS
 
 #endif //__LIBGCMD_WIDGET_FACTORY_H__



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