]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/findtexturedialog.cpp
GTK: wrap gtk_widget_set_size_request
[xonotic/netradiant.git] / radiant / findtexturedialog.cpp
index 14dc5406a5c4ef5aaadf8086081a88b43409f98c..e4bf2f12a118fb4f74766775ead5ea15aef7b7d8 100644 (file)
@@ -189,14 +189,14 @@ ui::Window FindTextureDialog::BuildDialog(){
        vbox.pack_start( button, FALSE, FALSE, 0 );
        button.connect( "clicked",
                                          G_CALLBACK( OnApply ), 0 );
-       gtk_widget_set_size_request( button, 60, -1 );
+       button.dimensions(60, -1);
 
        button = ui::Button( "Close" );
        button.show();
        vbox.pack_start( button, FALSE, FALSE, 0 );
        button.connect( "clicked",
                                          G_CALLBACK( OnClose ), 0 );
-       gtk_widget_set_size_request( button, 60, -1 );
+       button.dimensions(60, -1);
 
        return dlg;
 }