[maemo-commits] [maemo-commits] r14358 - in projects/haf/trunk/hildon-1: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Oct 8 17:32:09 EEST 2007
- Previous message: [maemo-commits] r14357 - in projects/haf/trunk/gtk+: . gtk
- Next message: [maemo-commits] r14359 - projects/haf/trunk/gtk+/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: xan Date: 2007-10-08 17:32:06 +0300 (Mon, 08 Oct 2007) New Revision: 14358 Modified: projects/haf/trunk/hildon-1/ChangeLog projects/haf/trunk/hildon-1/src/hildon-window.c Log: Only map the HildonWindow vbox if it's supposed to be visible. Fixes warning when mapping HildonWindows without toolbars. Modified: projects/haf/trunk/hildon-1/ChangeLog =================================================================== --- projects/haf/trunk/hildon-1/ChangeLog 2007-10-08 14:12:26 UTC (rev 14357) +++ projects/haf/trunk/hildon-1/ChangeLog 2007-10-08 14:32:06 UTC (rev 14358) @@ -1,3 +1,8 @@ +2007-10-08 Xan Lopez <xan.lopez at nokia.com> + + * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed + to be visible, fixes warning on map for windows without toolbars. + 2007-10-02 Xan Lopez <xan.lopez at nokia.com> * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since Modified: projects/haf/trunk/hildon-1/src/hildon-window.c =================================================================== --- projects/haf/trunk/hildon-1/src/hildon-window.c 2007-10-08 14:12:26 UTC (rev 14357) +++ projects/haf/trunk/hildon-1/src/hildon-window.c 2007-10-08 14:32:06 UTC (rev 14358) @@ -453,7 +453,8 @@ if (GTK_WIDGET_CLASS (hildon_window_parent_class)->map) GTK_WIDGET_CLASS (hildon_window_parent_class)->map (widget); - gtk_widget_map (priv->vbox); + if (GTK_WIDGET_VISIBLE (priv->vbox)) + gtk_widget_map (priv->vbox); } static void
- Previous message: [maemo-commits] r14357 - in projects/haf/trunk/gtk+: . gtk
- Next message: [maemo-commits] r14359 - projects/haf/trunk/gtk+/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]