gnome-terminal r2520 - in branches/gnome-2-22: . src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2520 - in branches/gnome-2-22: . src
- Date: Thu, 20 Mar 2008 14:04:53 +0000 (GMT)
Author: chpe
Date: Thu Mar 20 14:04:53 2008
New Revision: 2520
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2520&view=rev
Log:
* src/profile-editor.c: (create_preview_pixbuf): Don't unref NULL
objects.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/profile-editor.c
Modified: branches/gnome-2-22/src/profile-editor.c
==============================================================================
--- branches/gnome-2-22/src/profile-editor.c (original)
+++ branches/gnome-2-22/src/profile-editor.c Thu Mar 20 14:04:53 2008
@@ -831,7 +831,8 @@
mime_type);
g_object_unref (thumbs);
}
- g_object_unref (file_info);
+ if (file_info != NULL)
+ g_object_unref (file_info);
}
}
return pixbuf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]