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)
This commit is contained in:
Matthias Clasen 2005-03-12 04:00:12 +00:00 committed by Matthias Clasen
parent 7ecf872b9a
commit 9adb145bb6
4 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
style changes. (#169334, Yury Puzis)
* gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
the doc comments. (#169967, Masao Mutoh)

View File

@ -1,5 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
style changes. (#169334, Yury Puzis)
* gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
the doc comments. (#169967, Masao Mutoh)

View File

@ -1,5 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
style changes. (#169334, Yury Puzis)
* gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
the doc comments. (#169967, Masao Mutoh)

View File

@ -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);