summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-12 04:00:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-12 04:00:12 +0000
commit9adb145bb62670b727a8758795d5222a9d20f558 (patch)
tree85689176d3bfacd8d5fa1e2b2484be7d2e8d0e09 /gtk
parent7ecf872b9aa87d4c4677c2f8512516a950b38a13 (diff)
downloadgdk-pixbuf-9adb145bb62670b727a8758795d5222a9d20f558.tar.gz
Don't crash on style changes. (#169334, Yury Puzis)
2005-03-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on style changes. (#169334, Yury Puzis)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkaboutdialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 3489b6837..82264446a 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -1829,8 +1829,8 @@ add_credits_page (GtkAboutDialog *about,
}
view = gtk_text_view_new ();
- g_signal_connect (about, "style_set",
- G_CALLBACK (text_view_style_set), view);
+ g_signal_connect_object (about, "style_set",
+ G_CALLBACK (text_view_style_set), view);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (view), FALSE);