gnome-terminal r2679 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2679 - trunk/src
- Date: Thu, 29 May 2008 19:44:33 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:44:33 2008
New Revision: 2679
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2679&view=rev
Log:
Remove #if 0'd code.
Modified:
trunk/src/terminal-app.c
Modified: trunk/src/terminal-app.c
==============================================================================
--- trunk/src/terminal-app.c (original)
+++ trunk/src/terminal-app.c Thu May 29 19:44:33 2008
@@ -488,37 +488,6 @@
return combo;
}
-#if 0
-static void
-profile_combo_box_set_selected (GtkWidget *widget,
- TerminalProfile *selected_profile)
-{
- GtkComboBox *combo = GTK_COMBO_BOX (widget);
- GtkTreeModel *model;
- GtkTreeIter iter;
- gboolean found = FALSE;
-
- model = gtk_combo_box_get_model (combo);
- if (!model)
- return;
-
- if (!gtk_tree_model_get_iter_first (model, &iter))
- return;
-
- do
- {
- TerminalProfile *profile;
-
- gtk_tree_model_get (model, &iter, (int) COL_PROFILE, &profile, (int) -1);
- found = (profile == selected_profile);
- g_object_unref (profile);
- } while (!found && gtk_tree_model_iter_next (model, &iter));
-
- if (found)
- gtk_combo_box_set_active_iter (combo, &iter);
-}
-#endif
-
static void
profile_combo_box_changed_cb (GtkWidget *widget,
TerminalApp *app)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]