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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org