From: Paul Cornett <paulcor@bullseye.com>
Date: Thu, 14 Feb 2008 05:31:22 +0000 (+0000)
Subject: remove gratuitous junk which had nothing to do with the commit log message
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6db38fbfb8d5abeb932bc4d7ec3c5f99f2a13f94

remove gratuitous junk which had nothing to do with the commit log message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp
index a4aa985348..68b72f8fbc 100644
--- a/src/gtk/tbargtk.cpp
+++ b/src/gtk/tbargtk.cpp
@@ -629,7 +629,6 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
             return true;
 
         case wxTOOL_STYLE_CONTROL:
-#if 1
             GtkWidget* align = gtk_alignment_new(0.5, 0.5, 0, 0);
             gtk_widget_show(align);
             gtk_container_add((GtkContainer*)align, tool->GetControl()->m_widget);
@@ -640,15 +639,6 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
                                        (const char *) NULL,
                                        posGtk
                                       );
-#else
-            gtk_toolbar_insert_widget(
-                                       m_toolbar,
-                                       tool->GetControl()->m_widget,
-                                       (const char *) NULL,
-                                       (const char *) NULL,
-                                       posGtk
-                                      );
-#endif
             // release reference obtained by wxInsertChildInToolBar
             g_object_unref(tool->GetControl()->m_widget);
             break;