Mailinglist Archive: yast-commit (711 mails)

< Previous Next >
[yast-commit] r48152 - /trunk/gtk/src/ygtktimezonepicker.c
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Sun, 08 Jun 2008 17:37:51 -0000
  • Message-id: <20080608173751.CFED1276B9@xxxxxxxxxxxxxxxx>
Author: rpmcruz
Date: Sun Jun 8 19:37:51 2008
New Revision: 48152

URL: http://svn.opensuse.org/viewcvs/yast?rev=48152&view=rev
Log:
fixed warning

Modified:
trunk/gtk/src/ygtktimezonepicker.c

Modified: trunk/gtk/src/ygtktimezonepicker.c
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtktimezonepicker.c?rev=48152&r1=48151&r2=48152&view=diff
==============================================================================
--- trunk/gtk/src/ygtktimezonepicker.c (original)
+++ trunk/gtk/src/ygtktimezonepicker.c Sun Jun 8 19:37:51 2008
@@ -422,6 +422,8 @@
static void ygtk_time_zone_picker_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
+ if (!GTK_WIDGET_REALIZED (widget))
+ return;
YGtkTimeZonePicker *picker = YGTK_TIME_ZONE_PICKER (widget);
int win_width = allocation->width, win_height = allocation->height;


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages