aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-19 22:32:48 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-19 22:32:48 +0800
commit5511b6207788fccebd0a9110d8cbf4eaa8c66b5e (patch)
tree03857352863155cdbb4268a1d2e906cdb8fdd893
parent0e5e2da258546296e2e7dd6cad2216b8eae7ddf3 (diff)
downloadgsoc2013-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.
-rw-r--r--ChangeLog6
-rw-r--r--src/prefs-dialog.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a4ef3bb26..1a4310a93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-19 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/prefs-dialog.c: (add_lang_dialog_response_cb):
+
+ Remove debug output leftovers.
+
2003-12-18 Christian Persch <chpe@cvs.gnome.org>
* data/glade/prefs-dialog.glade:
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);