forked from AuroraMiddleware/gtk
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:
parent
7f39896945
commit
3921a79118
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
||||||
|
@ -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>
|
Tue Aug 28 21:00:44 2001 Matthias Clasen <matthiasc@poet.de>
|
||||||
|
|
||||||
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Move the setting
|
* 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 */
|
/* Show text widget info in the statusbar */
|
||||||
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents));
|
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents));
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (buffer),
|
g_signal_connect_object (buffer,
|
||||||
"changed",
|
"changed",
|
||||||
G_CALLBACK (update_statusbar),
|
G_CALLBACK (update_statusbar),
|
||||||
statusbar);
|
statusbar,
|
||||||
|
0);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (buffer),
|
g_signal_connect_object (buffer,
|
||||||
"mark_set", /* cursor moved */
|
"mark_set", /* cursor moved */
|
||||||
G_CALLBACK (mark_set_callback),
|
G_CALLBACK (mark_set_callback),
|
||||||
statusbar);
|
statusbar,
|
||||||
|
0);
|
||||||
|
|
||||||
update_statusbar (buffer, GTK_STATUSBAR (statusbar));
|
update_statusbar (buffer, GTK_STATUSBAR (statusbar));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user