mirror of https://github.com/daleclack/My_GtkUi
Fix size issue for windows
This commit is contained in:
parent
79acc7997d
commit
eec32edb4d
|
@ -9,7 +9,7 @@ G_DEFINE_TYPE(MainWin, main_win, GTK_TYPE_APPLICATION_WINDOW)
|
|||
|
||||
static void main_win_init(MainWin *win){
|
||||
// Initalize window
|
||||
gtk_window_set_default_size(GTK_WINDOW(win), 1024, 576);
|
||||
// gtk_window_set_default_size(GTK_WINDOW(win), 1024, 576);
|
||||
gtk_window_set_icon_name(GTK_WINDOW(win), "My_GtkUI");
|
||||
gtk_window_set_title(GTK_WINDOW(win), "My Gtk UI Gtk4 Version");
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ static void about_activated(GSimpleAction *action,
|
|||
"license-type", GTK_LICENSE_GPL_3_0,
|
||||
"logo-icon-name", "My_GtkUI",
|
||||
"title", "About My GtkUI Mac Version",
|
||||
NULL);
|
||||
NULL, nullptr);
|
||||
|
||||
// Free Memory
|
||||
g_free(version);
|
||||
|
|
Loading…
Reference in New Issue