gimp r25469 - in trunk: . app/display
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25469 - in trunk: . app/display
- Date: Fri, 11 Apr 2008 17:58:14 +0100 (BST)
Author: mitch
Date: Fri Apr 11 17:58:14 2008
New Revision: 25469
URL: http://svn.gnome.org/viewvc/gimp?rev=25469&view=rev
Log:
2008-04-11 Michael Natterer <mitch gimp org>
* app/display/gimpdisplayshell-appearance.c
(gimp_display_shell_appearance_update): don't call
gtk_widget_set_name() on a NULL menubar.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-appearance.c
Modified: trunk/app/display/gimpdisplayshell-appearance.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-appearance.c (original)
+++ trunk/app/display/gimpdisplayshell-appearance.c Fri Apr 11 17:58:14 2008
@@ -80,8 +80,9 @@
fullscreen = gimp_display_shell_get_fullscreen (shell);
- gtk_widget_set_name (GTK_WIDGET (shell->menubar),
- fullscreen ? "gimp-menubar-fullscreen" : NULL);
+ if (shell->menubar)
+ gtk_widget_set_name (GTK_WIDGET (shell->menubar),
+ fullscreen ? "gimp-menubar-fullscreen" : NULL);
gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (shell->statusbar),
! fullscreen);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]