Commit 3921a791 authored by Matthias Clasen's avatar Matthias Clasen

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

instead of gtk_signal_connect, to avoid warnings at destruction time. (#58161)
parent 7f398969
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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),
"changed",
G_CALLBACK (update_statusbar),
statusbar);
g_signal_connect (G_OBJECT (buffer),
"mark_set", /* cursor moved */
G_CALLBACK (mark_set_callback),
statusbar);
g_signal_connect_object (buffer,
"changed",
G_CALLBACK (update_statusbar),
statusbar,
0);
g_signal_connect_object (buffer,
"mark_set", /* cursor moved */
G_CALLBACK (mark_set_callback),
statusbar,
0);
update_statusbar (buffer, GTK_STATUSBAR (statusbar));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment