X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fprtview%2FConfigDialog.cpp;h=0d3a39206969e99587b03ef97d461365fcc78393;hp=64f539c7da33112418f7a8c492d2c8f94aef1e1a;hb=a9e5bfdf2a458e89978ee52ebbd3711884b54b29;hpb=e175f55b5cc3a06e68e7af608c17dac548a9a31c diff --git a/contrib/prtview/ConfigDialog.cpp b/contrib/prtview/ConfigDialog.cpp index 64f539c7..0d3a3920 100644 --- a/contrib/prtview/ConfigDialog.cpp +++ b/contrib/prtview/ConfigDialog.cpp @@ -398,7 +398,7 @@ void DoConfigDialog(){ button.show(); hbox.pack_start( button, FALSE, FALSE, 0 ); button.connect( "clicked", G_CALLBACK( OnColor2d ), NULL ); - gtk_widget_set_size_request( button, 60, -1 ); + button.dimensions(60, -1); auto aa2check = ui::CheckButton( "Anti-Alias (May not work on some video cards)" ); aa2check.show(); @@ -423,7 +423,7 @@ void DoConfigDialog(){ hbox.pack_end(button, FALSE, FALSE, 0); button.connect( "clicked", G_CALLBACK( dialog_button_callback ), GINT_TO_POINTER( IDOK ) ); - gtk_widget_set_size_request( button, 60, -1 ); + button.dimensions(60, -1); // initialize dialog gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( show2check ), portals.show_2d );