diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-09-23 17:07:57 +0300 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-09-23 17:15:04 +0300 |
commit | 37760d830f516fe6813aabce82b6158249a691ad (patch) | |
tree | 4e2954ae94d24edbb2e2aa5b723a92d2f366b5be /dive.h | |
parent | 1358f9e6a870e9b23e5e46bdc21f7c33dbf9561f (diff) | |
download | subsurface-37760d830f516fe6813aabce82b6158249a691ad.tar.gz |
Prevent a warning when showing the "About" dialog
gtk-gui.c:about_dialog():
Before assigning a pixel buffer to "logo" check if "image"
has a GTK_IMAGE_PIXBUF storage type.
Prevents the following message if the icon file is missing:
Gtk-CRITICAL **: gtk_image_get_pixbuf: assertion
The message that the file is missing is still shown.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions