diff options
Diffstat (limited to 'src/ui/messenger.c')
-rw-r--r-- | src/ui/messenger.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ui/messenger.c b/src/ui/messenger.c index ebfde36..46ee362 100644 --- a/src/ui/messenger.c +++ b/src/ui/messenger.c | |||
@@ -92,12 +92,7 @@ void | |||
92 | ui_messenger_init(MESSENGER_Application *app, | 92 | ui_messenger_init(MESSENGER_Application *app, |
93 | UI_MESSENGER_Handle *handle) | 93 | UI_MESSENGER_Handle *handle) |
94 | { | 94 | { |
95 | GtkBuilder* builder = gtk_builder_new(); | 95 | GtkBuilder* builder = gtk_builder_new_from_file("resources/ui/messenger.ui"); |
96 | gtk_builder_add_from_file( | ||
97 | builder, | ||
98 | "resources/ui/messenger.ui", | ||
99 | NULL | ||
100 | ); | ||
101 | 96 | ||
102 | handle->main_window = GTK_APPLICATION_WINDOW( | 97 | handle->main_window = GTK_APPLICATION_WINDOW( |
103 | gtk_builder_get_object(builder, "main_window") | 98 | gtk_builder_get_object(builder, "main_window") |