gtk_container_border_width -> gtk_container_set_border_width

This commit is contained in:
Garux
2020-05-21 04:49:59 +03:00
parent 9d34fca65c
commit bc48a22a7b
3 changed files with 12 additions and 12 deletions

View File

@@ -90,7 +90,7 @@ int DoMessageBox( const char* lpText, const char* lpCaption, guint32 uType ){
g_signal_connect( G_OBJECT( window ), "destroy",
G_CALLBACK( gtk_widget_destroy ), NULL );
gtk_window_set_title( GTK_WINDOW( window ), lpCaption );
gtk_container_border_width( GTK_CONTAINER( window ), 10 );
gtk_container_set_border_width( GTK_CONTAINER( window ), 10 );
g_object_set_data( G_OBJECT( window ), "loop", &loop );
g_object_set_data( G_OBJECT( window ), "ret", &ret );
gtk_widget_realize( window );