gnome-bluetooth r614 - trunk/wizard
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r614 - trunk/wizard
- Date: Wed, 15 Apr 2009 16:58:09 +0000 (UTC)
Author: hadess
Date: Wed Apr 15 16:58:09 2009
New Revision: 614
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=614&view=rev
Log:
Don't warn when the pixbuf isn't there
Modified:
trunk/wizard/main.c
Modified: trunk/wizard/main.c
==============================================================================
--- trunk/wizard/main.c (original)
+++ trunk/wizard/main.c Wed Apr 15 16:58:09 2009
@@ -549,7 +549,8 @@
gtk_assistant_set_page_header_image (assistant, page_search, pixbuf);
gtk_assistant_set_page_header_image (assistant, page_setup, pixbuf);
gtk_assistant_set_page_header_image (assistant, page_summary, pixbuf);
- g_object_unref (pixbuf);
+ if (pixbuf != NULL)
+ g_object_unref (pixbuf);
/* Passkey dialog */
passkey_dialog = GTK_WIDGET(gtk_builder_get_object(builder, "passkey_dialog"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]