From: Thomas Debesse Date: Mon, 11 Feb 2019 05:38:18 +0000 (+0100) Subject: Garux: remove unsupported gtk stuff X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=70f0925f0000a132c709b935aa5cb0942b5080d9;p=xonotic%2Fnetradiant.git Garux: remove unsupported gtk stuff --- diff --git a/radiant/surfacedialog.cpp b/radiant/surfacedialog.cpp index 63c5b472..dbf3666e 100644 --- a/radiant/surfacedialog.cpp +++ b/radiant/surfacedialog.cpp @@ -818,17 +818,11 @@ ui::Window SurfaceInspector::BuildDialog(){ ui::Widget label = ui::Label( "Width" ); label.show(); table.attach(label, {2, 3, 0, 1}, {GTK_FILL, 0}); - g_signal_connect( G_OBJECT( button ), "clicked", - G_CALLBACK( OnBtnFaceFitW ), 0 ); - gtk_widget_set_usize( button, 60, -2 ); } { ui::Widget label = ui::Label( "Height" ); label.show(); table.attach(label, {3, 4, 0, 1}, {GTK_FILL, 0}); - g_signal_connect( G_OBJECT( button ), "clicked", - G_CALLBACK( OnBtnFaceFitH ), 0 ); - gtk_widget_set_usize( button, 60, -2 ); } { ui::Widget button = ui::Button( "Axial" );