summaryrefslogtreecommitdiff
path: root/src/profile-editor.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-26 16:14:26 +0300
committermonsta <[email protected]>2016-05-26 16:54:22 +0300
commitea302a83da329d7f182724fb0c9d1a4d22aa9362 (patch)
tree1cde487a406441d57fcf0356a5945159eb12f471 /src/profile-editor.c
parent8195dc9b0e609733ae76d2da7201fe1bd73c7d2d (diff)
downloadmate-terminal-ea302a83da329d7f182724fb0c9d1a4d22aa9362.tar.bz2
mate-terminal-ea302a83da329d7f182724fb0c9d1a4d22aa9362.tar.xz
drop old GTK+2 code
Diffstat (limited to 'src/profile-editor.c')
-rw-r--r--src/profile-editor.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/profile-editor.c b/src/profile-editor.c
index 873dd11..f20afe7 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -546,8 +546,6 @@ reset_compat_defaults_cb (GtkWidget *button,
static void
init_color_scheme_menu (GtkWidget *combo_box)
{
- #if GTK_CHECK_VERSION(3, 0, 0)
-
GtkCellRenderer *renderer;
GtkTreeIter iter;
GtkListStore *store;
@@ -569,19 +567,6 @@ init_color_scheme_menu (GtkWidget *combo_box)
/*FIXME, avoid double loading of color schemes names from UI file */
/* gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "text", 0, NULL);*/
-
- #else
-
- int i;
-
- i = G_N_ELEMENTS (color_schemes);
- while (i > 0)
- {
- gtk_combo_box_prepend_text (GTK_COMBO_BOX (combo_box),
- _(color_schemes[--i].name));
- }
-
- #endif
}
static char*