[gnome-commander] Remove unused functions



commit 9d65bd3f685f42e37ae0f8ec101bb2c2cdfd785c
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Jun 4 22:24:52 2017 +0200

    Remove unused functions

 libgcmd/libgcmd-widget-factory.cc |   20 --------------------
 libgcmd/libgcmd-widget-factory.h  |    4 ----
 2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/libgcmd/libgcmd-widget-factory.cc b/libgcmd/libgcmd-widget-factory.cc
index df22378..f125437 100644
--- a/libgcmd/libgcmd-widget-factory.cc
+++ b/libgcmd/libgcmd-widget-factory.cc
@@ -169,16 +169,6 @@ GtkWidget *create_hsep (GtkWidget *parent)
 }
 
 
-GtkWidget *create_vsep (GtkWidget *parent)
-{
-    GtkWidget *sep = gtk_vseparator_new ();
-    g_object_ref (sep);
-    g_object_set_data_full (G_OBJECT (parent), "sep", sep, g_object_unref);
-    gtk_widget_show (sep);
-    return sep;
-}
-
-
 GtkWidget *create_space_hbox (GtkWidget *parent, GtkWidget *content)
 {
     GtkWidget *hbox = create_hbox (parent, FALSE, 0);
@@ -475,16 +465,6 @@ GtkWidget *create_progress_bar (GtkWidget *parent)
 }
 
 
-GtkWidget *create_pixmap (GtkWidget *parent, GdkPixmap *pm, GdkBitmap *mask)
-{
-    GtkWidget *w = gtk_pixmap_new (pm, mask);
-    g_object_ref (w);
-    g_object_set_data_full (G_OBJECT (parent), "pixmap", w, g_object_unref);
-    gtk_widget_show (w);
-    return w;
-}
-
-
 GtkWidget *create_sw (GtkWidget *parent)
 {
     GtkWidget *scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
diff --git a/libgcmd/libgcmd-widget-factory.h b/libgcmd/libgcmd-widget-factory.h
index 72c3730..cc5c580 100644
--- a/libgcmd/libgcmd-widget-factory.h
+++ b/libgcmd/libgcmd-widget-factory.h
@@ -53,8 +53,6 @@ GtkWidget *create_bold_label (GtkWidget *parent, const gchar *text);
 
 GtkWidget *create_hsep (GtkWidget *parent);
 
-GtkWidget *create_vsep (GtkWidget *parent);
-
 GtkWidget *create_space_hbox (GtkWidget *parent, GtkWidget *content);
 
 GtkWidget *create_category (GtkWidget *parent, GtkWidget *content, const gchar *title);
@@ -155,8 +153,6 @@ inline void table_add_y (GtkWidget *table, GtkWidget *w, gint x, gint y, GtkAtta
     gtk_table_attach (GTK_TABLE (table), w, x, x+1, y, y+1, x_opts, y_opts, 0, 0);
 }
 
-GtkWidget *create_pixmap (GtkWidget *parent, GdkPixmap *pm, GdkBitmap *mask);
-
 GtkWidget *create_progress_bar (GtkWidget *parent);
 
 GtkWidget *create_sw (GtkWidget *parent);


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