aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/alarm-page.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-02 11:06:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:06:02 +0800
commit3041d1943a01406abf5672d8759213472e61298d (patch)
tree2387b33f3e2a1e123d9dd1f097cf08c63ea2d215 /calendar/gui/dialogs/alarm-page.c
parentbe82b4b9ec5b202bd533b81d798bee91df503b89 (diff)
downloadgsoc2013-evolution-3041d1943a01406abf5672d8759213472e61298d.tar.gz
gsoc2013-evolution-3041d1943a01406abf5672d8759213472e61298d.tar.zst
gsoc2013-evolution-3041d1943a01406abf5672d8759213472e61298d.zip
run fix.sh over this.
2002-11-27 Not Zed <NotZed@Ximian.com> * gui/itip-utils.[ch]: run fix.sh over this. * gui/dialogs/*.[ch]: run fix.sh over all of this. 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18972
Diffstat (limited to 'calendar/gui/dialogs/alarm-page.c')
-rw-r--r--calendar/gui/dialogs/alarm-page.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index f16c7198b9..64e79d8f9d 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -170,7 +170,7 @@ alarm_page_class_init (AlarmPageClass *class)
editor_page_class = (CompEditorPageClass *) class;
object_class = (GtkObjectClass *) class;
- parent_class = gtk_type_class (TYPE_COMP_EDITOR_PAGE);
+ parent_class = g_type_class_ref(TYPE_COMP_EDITOR_PAGE);
editor_page_class->get_widget = alarm_page_get_widget;
editor_page_class->focus_main_widget = alarm_page_focus_main_widget;
@@ -235,7 +235,7 @@ alarm_page_destroy (GtkObject *object)
priv = apage->priv;
if (priv->xml) {
- gtk_object_unref (GTK_OBJECT (priv->xml));
+ g_object_unref((priv->xml));
priv->xml = NULL;
}
@@ -823,22 +823,22 @@ init_widgets (AlarmPage *apage)
priv = apage->priv;
/* Reminder buttons */
- gtk_signal_connect (GTK_OBJECT (priv->add), "clicked",
- GTK_SIGNAL_FUNC (add_clicked_cb), apage);
- gtk_signal_connect (GTK_OBJECT (priv->delete), "clicked",
- GTK_SIGNAL_FUNC (delete_clicked_cb), apage);
+ g_signal_connect((priv->add), "clicked",
+ G_CALLBACK (add_clicked_cb), apage);
+ g_signal_connect((priv->delete), "clicked",
+ G_CALLBACK (delete_clicked_cb), apage);
/* Connect the default signal handler to use to make sure we notify
* upstream of changes to the widget values.
*/
- gtk_signal_connect (GTK_OBJECT (priv->add), "clicked",
- GTK_SIGNAL_FUNC (field_changed_cb), apage);
- gtk_signal_connect (GTK_OBJECT (priv->delete), "clicked",
- GTK_SIGNAL_FUNC (field_changed_cb), apage);
+ g_signal_connect((priv->add), "clicked",
+ G_CALLBACK (field_changed_cb), apage);
+ g_signal_connect((priv->delete), "clicked",
+ G_CALLBACK (field_changed_cb), apage);
/* Options button */
- gtk_signal_connect (GTK_OBJECT (priv->button_options), "clicked",
- GTK_SIGNAL_FUNC (button_options_clicked_cb), apage);
+ g_signal_connect((priv->button_options), "clicked",
+ G_CALLBACK (button_options_clicked_cb), apage);
}
@@ -893,7 +893,7 @@ alarm_page_new (void)
apage = gtk_type_new (TYPE_ALARM_PAGE);
if (!alarm_page_construct (apage)) {
- gtk_object_unref (GTK_OBJECT (apage));
+ g_object_unref((apage));
return NULL;
}