X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fgtkdlgs.cpp;h=8338c2031e63af34ebce560e0716c76ed40de7a1;hb=a9e5bfdf2a458e89978ee52ebbd3711884b54b29;hp=fdecfc9920337016f3b0158f4b170268326f2de1;hpb=e6ffa8c04f8bd4e501210652daf88b52a366a338;p=xonotic%2Fnetradiant.git diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index fdecfc99..8338c203 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -738,14 +738,14 @@ static void CreateGtkTextEditor(){ hbox.pack_end(button, FALSE, FALSE, 0); button.connect( "clicked", G_CALLBACK( editor_close ), dlg ); - gtk_widget_set_size_request( button, 60, -1 ); + button.dimensions(60, -1); button = ui::Button( "Save" ); button.show(); hbox.pack_end(button, FALSE, FALSE, 0); button.connect( "clicked", G_CALLBACK( editor_save ), dlg ); - gtk_widget_set_size_request( button, 60, -1 ); + button.dimensions(60, -1); text_editor = dlg; text_widget = text;