aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2002-11-14 04:03:27 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2002-11-14 04:03:27 +0800
commit422f99755f1f214a44dc66791007ce516594c237 (patch)
treede8e4a486af16127ff02c4c08709763a0a5a4bf8 /calendar/cal-client/cal-client.c
parent777954dd8ae728870eb9881da9b6de9739b9155f (diff)
downloadgsoc2013-evolution-422f99755f1f214a44dc66791007ce516594c237.tar.gz
gsoc2013-evolution-422f99755f1f214a44dc66791007ce516594c237.tar.zst
gsoc2013-evolution-422f99755f1f214a44dc66791007ce516594c237.zip
#include <string.h> (obj_removed_cb): Fixed prototype.
2002-11-13 Federico Mena Quintero <federico@ximian.com> * cal-client/cal-query.c: #include <string.h> (obj_removed_cb): Fixed prototype. * cal-client/cal-client.c (get_objects_atomically): Fix use of g_signal_handler_disconnect(). * cal-client/client-test.c (create_client): Add G_CALLBACK casts. svn path=/trunk/; revision=18744
Diffstat (limited to 'calendar/cal-client/cal-client.c')
-rw-r--r--calendar/cal-client/cal-client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index b1c36653fe..bde9e6f375 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -22,6 +22,7 @@
#include <config.h>
#endif
+#include <string.h>
#include <bonobo-activation/bonobo-activation.h>
#include <bonobo/bonobo-exception.h>
#include <libgnome/gnome-util.h>
@@ -1838,8 +1839,8 @@ get_objects_atomically (CalClient *client, CalObjType type, time_t start, time_t
* notification signals and generate the final list of components.
*/
- g_signal_handlers_disconnect_by_func (G_OBJECT (client), obj_updated_id, client);
- g_signal_handlers_disconnect_by_func (G_OBJECT (client), obj_removed_id, client);
+ g_signal_handler_disconnect (client, obj_updated_id);
+ g_signal_handler_disconnect (client, obj_removed_id);
objects = NULL;
g_hash_table_foreach (uid_comp_hash, add_component, &objects);