]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Remove some commented out code
authorMario <mario@smbclan.net>
Sun, 16 Jul 2017 10:03:34 +0000 (20:03 +1000)
committerMario <mario@smbclan.net>
Sun, 16 Jul 2017 10:03:34 +0000 (20:03 +1000)
libs/gtkutil/widget.h

index e6db9c3e8ae4beddd234488465d58d36a87176c1..3778a280358db774da03600d4b35f14755df899c 100644 (file)
@@ -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 );
                }