[gnome-system-monitor] Remove unused function (Bug #704293) https://bugzilla.gnome.org/show_bug.cgi?id=704293



commit cc0e641a22b559a54e06293fdfad0b69ec28fc64
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Tue Jul 16 23:13:22 2013 +0300

    Remove unused function (Bug #704293)
    https://bugzilla.gnome.org/show_bug.cgi?id=704293

 src/interface.cpp |   17 -----------------
 src/interface.h   |    1 -
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/interface.cpp b/src/interface.cpp
index f80cf5e..4814276 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -104,23 +104,6 @@ static const GtkRadioActionEntry priority_menu_entries[] =
       N_("Set process priority manually"), CUSTOM_PRIORITY }
 };
 
-
-GtkWidget *
-make_title_label (const char *text)
-{
-    GtkWidget *label;
-    char *full;
-
-    full = g_strdup_printf ("<span weight=\"bold\">%s</span>", text);
-    label = gtk_label_new (full);
-    g_free (full);
-
-    gtk_misc_set_alignment (GTK_MISC (label), 0.0f, 0.5f);
-    gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-
-    return label;
-}
-
 static void 
 create_proc_view(ProcmanApp *app, GtkBuilder * builder)
 {
diff --git a/src/interface.h b/src/interface.h
index 48a4a54..6c08231 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -28,6 +28,5 @@ void            create_main_window (ProcmanApp *app);
 void            update_sensitivity (ProcmanApp *app);
 void            block_priority_changed_handlers(ProcmanApp *app, bool block);
 void            do_popup_menu(ProcmanApp *app, GdkEventButton *event);
-GtkWidget *     make_title_label (const char *text);
 
 #endif /* _PROCMAN_INTERFACE_H_ */


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