diff options
author | Not Zed <NotZed@Ximian.com> | 2002-12-02 11:28:22 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-12-02 11:28:22 +0800 |
commit | 4354c0ac032ef2837a80f801d1d1cad9036f2b37 (patch) | |
tree | 0d54c308c8ec1fe3ba4dd3bf32a5565df85d36b0 /widgets/misc/test-dateedit.c | |
parent | 9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (diff) | |
download | gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.gz gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.tar.zst gsoc2013-evolution-4354c0ac032ef2837a80f801d1d1cad9036f2b37.zip |
Add include of gnome-dialog.h
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-charset-picker.c: Add include of gnome-dialog.h
* *.[ch]: ran fix.sh script over everything.
svn path=/trunk/; revision=18978
Diffstat (limited to 'widgets/misc/test-dateedit.c')
-rw-r--r-- | widgets/misc/test-dateedit.c | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/widgets/misc/test-dateedit.c b/widgets/misc/test-dateedit.c index 79038bc79c..c96e881369 100644 --- a/widgets/misc/test-dateedit.c +++ b/widgets/misc/test-dateedit.c @@ -70,8 +70,8 @@ main (int argc, char **argv) gtk_window_set_policy (GTK_WINDOW (app), FALSE, TRUE, TRUE); gtk_container_set_border_width (GTK_CONTAINER (app), 8); - gtk_signal_connect (GTK_OBJECT (app), "delete_event", - GTK_SIGNAL_FUNC (delete_event_cb), app); + g_signal_connect((app), "delete_event", + G_CALLBACK (delete_event_cb), app); table = gtk_table_new (3, 3, FALSE); gtk_table_set_row_spacings (GTK_TABLE (table), 4); @@ -86,21 +86,21 @@ main (int argc, char **argv) gtk_widget_show ((GtkWidget*) (dedit)); #if 0 - gtk_signal_connect (GTK_OBJECT (dedit), "date_changed", - GTK_SIGNAL_FUNC (on_date_changed), "1"); - gtk_signal_connect (GTK_OBJECT (dedit), "time_changed", - GTK_SIGNAL_FUNC (on_time_changed), "1"); + g_signal_connect((dedit), "date_changed", + G_CALLBACK (on_date_changed), "1"); + g_signal_connect((dedit), "time_changed", + G_CALLBACK (on_time_changed), "1"); #else - gtk_signal_connect (GTK_OBJECT (dedit), "changed", - GTK_SIGNAL_FUNC (on_changed), "1"); + g_signal_connect((dedit), "changed", + G_CALLBACK (on_changed), "1"); #endif button = gtk_button_new_with_label ("Print Date"); gtk_table_attach (GTK_TABLE (table), button, 1, 2, 0, 1, 0, 0, 0, 0); gtk_widget_show (button); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - GTK_SIGNAL_FUNC (on_get_date_clicked), dedit); + g_signal_connect((button), "clicked", + G_CALLBACK (on_get_date_clicked), dedit); /* EDateEdit 2. */ dedit = E_DATE_EDIT (e_date_edit_new ()); @@ -114,21 +114,21 @@ main (int argc, char **argv) e_date_edit_set_show_time (dedit, FALSE); #if 0 - gtk_signal_connect (GTK_OBJECT (dedit), "date_changed", - GTK_SIGNAL_FUNC (on_date_changed), "2"); - gtk_signal_connect (GTK_OBJECT (dedit), "time_changed", - GTK_SIGNAL_FUNC (on_time_changed), "2"); + g_signal_connect((dedit), "date_changed", + G_CALLBACK (on_date_changed), "2"); + g_signal_connect((dedit), "time_changed", + G_CALLBACK (on_time_changed), "2"); #else - gtk_signal_connect (GTK_OBJECT (dedit), "changed", - GTK_SIGNAL_FUNC (on_changed), "2"); + g_signal_connect((dedit), "changed", + G_CALLBACK (on_changed), "2"); #endif button = gtk_button_new_with_label ("Print Date"); gtk_table_attach (GTK_TABLE (table), button, 1, 2, 1, 2, 0, 0, 0, 0); gtk_widget_show (button); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - GTK_SIGNAL_FUNC (on_get_date_clicked), dedit); + g_signal_connect((button), "clicked", + G_CALLBACK (on_get_date_clicked), dedit); /* EDateEdit 3. */ dedit = E_DATE_EDIT (e_date_edit_new ()); @@ -142,28 +142,28 @@ main (int argc, char **argv) e_date_edit_set_allow_no_date_set (dedit, TRUE); #if 0 - gtk_signal_connect (GTK_OBJECT (dedit), "date_changed", - GTK_SIGNAL_FUNC (on_date_changed), "3"); - gtk_signal_connect (GTK_OBJECT (dedit), "time_changed", - GTK_SIGNAL_FUNC (on_time_changed), "3"); + g_signal_connect((dedit), "date_changed", + G_CALLBACK (on_date_changed), "3"); + g_signal_connect((dedit), "time_changed", + G_CALLBACK (on_time_changed), "3"); #else - gtk_signal_connect (GTK_OBJECT (dedit), "changed", - GTK_SIGNAL_FUNC (on_changed), "3"); + g_signal_connect((dedit), "changed", + G_CALLBACK (on_changed), "3"); #endif button = gtk_button_new_with_label ("Print Date"); gtk_table_attach (GTK_TABLE (table), button, 1, 2, 2, 3, 0, 0, 0, 0); gtk_widget_show (button); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - GTK_SIGNAL_FUNC (on_get_date_clicked), dedit); + g_signal_connect((button), "clicked", + G_CALLBACK (on_get_date_clicked), dedit); button = gtk_button_new_with_label ("Toggle 24-hour"); gtk_table_attach (GTK_TABLE (table), button, 2, 3, 2, 3, 0, 0, 0, 0); gtk_widget_show (button); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - GTK_SIGNAL_FUNC (on_toggle_24_hour_clicked), + g_signal_connect((button), "clicked", + G_CALLBACK (on_toggle_24_hour_clicked), dedit); gtk_widget_show (app); |