diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-19 22:32:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-19 22:32:48 +0800 |
commit | 5511b6207788fccebd0a9110d8cbf4eaa8c66b5e (patch) | |
tree | 03857352863155cdbb4268a1d2e906cdb8fdd893 /src/prefs-dialog.c | |
parent | 0e5e2da258546296e2e7dd6cad2216b8eae7ddf3 (diff) | |
download | gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar.gz gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar.bz2 gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar.lz gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar.xz gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.tar.zst gsoc2013-epiphany-5511b6207788fccebd0a9110d8cbf4eaa8c66b5e.zip |
Remove debug output leftovers.
2003-12-19 Christian Persch <chpe@cvs.gnome.org>
* src/prefs-dialog.c: (add_lang_dialog_response_cb):
Remove debug output leftovers.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r-- | src/prefs-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 129357cba..36f875587 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -731,9 +731,9 @@ add_lang_dialog_response_cb (GtkWidget *widget, GList *rows, *r; g_return_if_fail (dialog != NULL); -g_print ("response_cb\n"); + if (response == GTK_RESPONSE_OK) - {g_print ("response OK"); + { treeview = GTK_TREE_VIEW (ephy_dialog_get_control (dialog, add_lang_props[LANGUAGE_PROP].id)); selection = gtk_tree_view_get_selection (treeview); @@ -743,7 +743,7 @@ g_print ("response_cb\n"); for (r = rows; r != NULL; r = r->next) { GtkTreePath *path = (GtkTreePath *) r->data; -g_print ("row\n"); + if (gtk_tree_model_get_iter (model, &iter, path)) { char *code, *desc; @@ -752,7 +752,7 @@ g_print ("row\n"); COL_LANG_NAME, &desc, COL_LANG_CODE, &code, -1); - g_print ("inner! desc %s code %s\n", desc, code); + language_editor_add (pd, code, desc); g_free (desc); |