From 5511b6207788fccebd0a9110d8cbf4eaa8c66b5e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 19 Dec 2003 14:32:48 +0000 Subject: Remove debug output leftovers. 2003-12-19 Christian Persch * src/prefs-dialog.c: (add_lang_dialog_response_cb): Remove debug output leftovers. --- src/prefs-dialog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit