[Gpa-commits] r875 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 24 16:55:47 CEST 2008


Author: marcus
Date: 2008-04-24 16:55:47 +0200 (Thu, 24 Apr 2008)
New Revision: 875

Modified:
   trunk/src/ChangeLog
   trunk/src/settingsdlg.c
Log:
2008-04-24  Marcus Brinkmann  <marcus at g10code.de>

	* settingsdlg.c (keyserver_selected_cb): Add missing event
	argument.
	(selected_from_list_cb): Also to caller.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2008-04-21 15:22:42 UTC (rev 874)
+++ trunk/src/ChangeLog	2008-04-24 14:55:47 UTC (rev 875)
@@ -1,3 +1,9 @@
+2008-04-24  Marcus Brinkmann  <marcus at g10code.de>
+
+	* settingsdlg.c (keyserver_selected_cb): Add missing event
+	argument.
+	(selected_from_list_cb): Also to caller.
+
 2008-04-21  Marcus Brinkmann  <marcus at g10code.de>
 
 	* Makefile.am (gpa_SOURCES): Add gpaprogressbar.h, gpaprogressbar.c.

Modified: trunk/src/settingsdlg.c
===================================================================
--- trunk/src/settingsdlg.c	2008-04-21 15:22:42 UTC (rev 874)
+++ trunk/src/settingsdlg.c	2008-04-24 14:55:47 UTC (rev 875)
@@ -84,13 +84,15 @@
 
 
 /* Default keyserver section.  */
-static void
-keyserver_selected_cb (GtkWidget *combo, gpointer user_data)
+static gboolean
+keyserver_selected_cb (GtkWidget *combo, GdkEvent *event, gpointer user_data)
 {
   gchar *text = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo));
 
   if (text != NULL && *text != '\0')
     gpa_options_set_default_keyserver (gpa_options_get_instance (), text);
+
+  return FALSE;
 }
 
 
@@ -99,7 +101,7 @@
 {
   /* Consider the text entry activated.  */
   if (gtk_combo_box_get_active (combo) != -1)
-    keyserver_selected_cb (GTK_WIDGET (combo), NULL);
+    keyserver_selected_cb (GTK_WIDGET (combo), NULL, NULL);
 }
 
 



More information about the Gpa-commits mailing list