demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object

instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
This commit is contained in:
Matthias Clasen 2001-08-28 20:31:16 +00:00
parent 7f39896945
commit 3921a79118
8 changed files with 45 additions and 8 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -1,3 +1,8 @@
Tue Aug 28 21:37:11 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/appwindow.c (do_appwindow): Use g_signal_connect_object
instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting

View File

@ -312,15 +312,17 @@ do_appwindow (void)
/* Show text widget info in the statusbar */
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents));
g_signal_connect (G_OBJECT (buffer),
g_signal_connect_object (buffer,
"changed",
G_CALLBACK (update_statusbar),
statusbar);
statusbar,
0);
g_signal_connect (G_OBJECT (buffer),
g_signal_connect_object (buffer,
"mark_set", /* cursor moved */
G_CALLBACK (mark_set_callback),
statusbar);
statusbar,
0);
update_statusbar (buffer, GTK_STATUSBAR (statusbar));
}