[anjuta] terminal: Silence -Wunused-function
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] terminal: Silence -Wunused-function
- Date: Tue, 5 Aug 2014 19:24:23 +0000 (UTC)
commit 869a6fd24333f094a74190121c4153263af843c7
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Aug 5 11:18:26 2014 +0200
terminal: Silence -Wunused-function
https://bugzilla.gnome.org/show_bug.cgi?id=734268
plugins/terminal/terminal.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/plugins/terminal/terminal.c b/plugins/terminal/terminal.c
index 6d768c4..ad5a6cc 100644
--- a/plugins/terminal/terminal.c
+++ b/plugins/terminal/terminal.c
@@ -917,21 +917,6 @@ add_data_to_store (gchar *uuid, gchar *name, GtkListStore *model)
}
static void
-profile_renderer (GtkTreeViewColumn *column, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter
*iter, gpointer data)
-{
- gchar *uuid;
- gchar *name;
- gchar *label;
-
- gtk_tree_model_get (model, iter, TERM_STORE_UUID_COLUMN, &uuid, TERM_STORE_NAME_COLUMN, &name, -1);
- label = g_strdup_printf ("%s (%s)", name, uuid);
- g_object_set (renderer, "text", label, NULL);
- g_free (uuid);
- g_free (name);
- g_free (label);
-}
-
-static void
on_pref_profile_changed (GtkComboBox* combo, TerminalPlugin* term_plugin)
{
GtkTreeModel *model = gtk_combo_box_get_model (combo);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]