From: Mario Date: Sun, 16 Jul 2017 10:03:34 +0000 (+1000) Subject: Remove some commented out code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3cae977928fe664ad2521588d6d6cd96ffcdb12a;p=xonotic%2Fnetradiant.git Remove some commented out code --- diff --git a/libs/gtkutil/widget.h b/libs/gtkutil/widget.h index e6db9c3e..3778a280 100644 --- a/libs/gtkutil/widget.h +++ b/libs/gtkutil/widget.h @@ -33,8 +33,6 @@ inline void widget_set_visible( GtkWidget* widget, bool shown ){ /* workaround for gtk 2.24 issue: not displayed glwidget after toggle */ GtkWidget* glwidget = GTK_WIDGET( g_object_get_data( G_OBJECT( widget ), "glwidget" ) ); if ( glwidget ){ - //if ( widget_is_visible( glwidget ) ) - //globalOutputStream() << "glwidget have been already visible :0\n"; /* is not hidden aswell, according to this */ gtk_widget_hide( glwidget ); gtk_widget_show( glwidget ); }