aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-03-05 23:50:34 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-03-05 23:50:34 +0800
commit7f8c51d30de879fd8289600e9ffc269147931d8c (patch)
tree5b98d0ca280f31d3d64340ff532ecda72c699248
parent1fe2e871abffea25d9a43b4eb33152677add778f (diff)
downloadgsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar.gz
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar.bz2
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar.lz
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar.xz
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.tar.zst
gsoc2013-evolution-7f8c51d30de879fd8289600e9ffc269147931d8c.zip
g_objectify ref/unref
2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
-rw-r--r--calendar/ChangeLog11
-rw-r--r--calendar/gui/dialogs/alarm-options.c2
-rw-r--r--calendar/gui/e-itip-control.c6
-rw-r--r--calendar/gui/itip-bonobo-control.c4
4 files changed, 16 insertions, 7 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 227bc48d3e..a70d096b96 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,13 @@
2003-03-05 JP Rosevear <jpr@ximian.com>
+
+ * gui/e-itip-control.c (show_current): g_objectify ref/unref
+
+ * gui/itip-bonobo-control.c (set_data_idle_cb): as above
+ (pstream_load): ditto
+
+ * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above
+
+2003-03-05 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (class_init): override finalize, not
destroy
@@ -17,7 +26,7 @@
we are working, pass extra param
(button_selected_cb): pass extra param
(object_requested_cb): ditto
-
+
2003-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-offline-handler.c (backend_go_offline,
diff --git a/calendar/gui/dialogs/alarm-options.c b/calendar/gui/dialogs/alarm-options.c
index 50b5ebcfeb..6889088fca 100644
--- a/calendar/gui/dialogs/alarm-options.c
+++ b/calendar/gui/dialogs/alarm-options.c
@@ -350,7 +350,7 @@ alarm_to_malarm_widgets (Dialog *dialog, CalComponentAlarm *alarm)
"destinations", e_destination_exportv (destv), NULL);
for (i = 0; i < len; i++)
- gtk_object_unref (GTK_OBJECT (destv[i]));
+ g_object_unref (GTK_OBJECT (destv[i]));
g_free (destv);
cal_component_free_attendee_list (attendee_list);
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 33146ee111..0760ddd6ba 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -1498,7 +1498,7 @@ show_current (EItipControl *itip)
priv = itip->priv;
- gtk_object_ref (GTK_OBJECT (itip));
+ g_object_ref (itip);
if (priv->comp)
g_object_unref (priv->comp);
@@ -1540,7 +1540,7 @@ show_current (EItipControl *itip)
write_error_html (itip, _("The message does not appear to be properly formed"));
g_object_unref (priv->comp);
priv->comp = NULL;
- gtk_object_unref (GTK_OBJECT (itip));
+ g_object_unref (itip);
return;
};
@@ -1605,7 +1605,7 @@ show_current (EItipControl *itip)
find_my_address (itip, priv->ical_comp);
- gtk_object_unref (GTK_OBJECT (itip));
+ g_object_unref (itip);
}
void
diff --git a/calendar/gui/itip-bonobo-control.c b/calendar/gui/itip-bonobo-control.c
index a1c88caf32..3f020afce4 100644
--- a/calendar/gui/itip-bonobo-control.c
+++ b/calendar/gui/itip-bonobo-control.c
@@ -106,7 +106,7 @@ set_data_idle_cb (gpointer data)
idle_data *id = data;
e_itip_control_set_data (id->itip, id->text);
- gtk_object_unref (GTK_OBJECT (id->itip));
+ g_object_unref (id->itip);
g_free (id->text);
g_free (id);
@@ -133,7 +133,7 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream,
g_free (id);
return;
}
- gtk_object_ref (GTK_OBJECT (itip));
+ g_object_ref (itip);
id->itip = itip;
g_idle_add (set_data_idle_cb, id);