Commit 05e56a0d55e220d24d85437286c51719ad357b97

Authored by Perry Werneck
1 parent 3cc38bc6
Exists in master and in 1 other branch develop

Fixing color schemes in debug version.

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
src/dialogs/colorscheme.c
@@ -267,11 +267,7 @@ @@ -267,11 +267,7 @@
267 GtkWidget * widget = GTK_WIDGET(g_object_new(GTK_TYPE_V3270_COLOR_SCHEME, NULL)); 267 GtkWidget * widget = GTK_WIDGET(g_object_new(GTK_TYPE_V3270_COLOR_SCHEME, NULL));
268 GtkTreeModel * model = gtk_combo_box_get_model(GTK_COMBO_BOX(widget)); 268 GtkTreeModel * model = gtk_combo_box_get_model(GTK_COMBO_BOX(widget));
269 269
270 -#ifdef DEBUG  
271 - g_autofree gchar * filename = g_build_filename("conf","colors.conf",NULL);  
272 -#else  
273 lib3270_autoptr(char) filename = lib3270_build_data_filename("colors.conf",NULL); 270 lib3270_autoptr(char) filename = lib3270_build_data_filename("colors.conf",NULL);
274 -#endif // DEBUG  
275 271
276 if(!g_file_test(filename,G_FILE_TEST_IS_REGULAR)) 272 if(!g_file_test(filename,G_FILE_TEST_IS_REGULAR))
277 { 273 {