soylent r70 - trunk/src



Author: treitter
Date: Mon Feb 11 00:55:21 2008
New Revision: 70
URL: http://svn.gnome.org/viewvc/soylent?rev=70&view=rev

Log:
make the email signal setup code more like the phone number email code (so it should be easier to combine them later)

Modified:
   trunk/src/soylent-browser.c

Modified: trunk/src/soylent-browser.c
==============================================================================
--- trunk/src/soylent-browser.c	(original)
+++ trunk/src/soylent-browser.c	Mon Feb 11 00:55:21 2008
@@ -1730,6 +1730,7 @@
     {
       gboolean connect_retval = FALSE;
       const gchar *signal_name = "changed";
+      const GCallback callback = G_CALLBACK (entry_changed_e_contact);
       gchar *widget_name = NULL;
       cb_entry_changed_e_contact *cb_data = NULL;
 
@@ -1746,8 +1747,7 @@
           /* FIXME - use a version which uses g_signal_connect_data so we can
            * eventually free each instance of cb_data */
           connect_retval = widget_signal_connect (wtree, widget_name,
-                                                  signal_name,
-                                                  entry_changed_e_contact,
+                                                  signal_name, callback,
                                                   cb_data);
 
           if (!connect_retval)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]