]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/dialog.cpp
Wrap gtkutil/button
[xonotic/netradiant.git] / libs / gtkutil / dialog.cpp
index d22dc94c1b4a73fade9ffe4608246862ee72ed46..dfeece8d43d4004e322dc7abdc821770efffd7f8 100644 (file)
@@ -209,7 +209,7 @@ PathEntry PathEntry_new(){
        gtk_box_pack_start( GTK_BOX( hbox ), GTK_WIDGET( entry ), TRUE, TRUE, 0 );
 
        // browse button
-       GtkButton* button = ui::Button();
+       auto button = ui::Button();
        button_set_icon( button, "ellipsis.bmp" );
        gtk_widget_show( GTK_WIDGET( button ) );
        gtk_box_pack_end( GTK_BOX( hbox ), GTK_WIDGET( button ), FALSE, FALSE, 0 );