aboutsummaryrefslogtreecommitdiff
path: root/src/application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.c b/src/application.c
index f1a2fd8..b2425c0 100644
--- a/src/application.c
+++ b/src/application.c
@@ -26,14 +26,14 @@
26#include "resources.h" 26#include "resources.h"
27 27
28static void 28static void
29_load_ui_stylesheets(void) 29_load_ui_stylesheets(MESSENGER_Application *app)
30{ 30{
31 GdkScreen* screen = gdk_screen_get_default(); 31 GdkScreen* screen = gdk_screen_get_default();
32 GtkCssProvider* provider = gtk_css_provider_new(); 32 GtkCssProvider* provider = gtk_css_provider_new();
33 33
34 gtk_css_provider_load_from_resource( 34 gtk_css_provider_load_from_resource(
35 provider, 35 provider,
36 "org/gnunet/Messenger-GTK/css/style.css" 36 application_get_resource_path(app, "css/style.css")
37 ); 37 );
38 38
39 gtk_style_context_add_provider_for_screen( 39 gtk_style_context_add_provider_for_screen(
@@ -66,7 +66,7 @@ application_init(MESSENGER_Application *app,
66 hdy_init(); 66 hdy_init();
67 67
68 app->application = gtk_application_new( 68 app->application = gtk_application_new(
69 "org.gnunet.Messenger-GTK", 69 "org.gnunet.Messenger",
70 G_APPLICATION_NON_UNIQUE 70 G_APPLICATION_NON_UNIQUE
71 ); 71 );
72 72
@@ -75,7 +75,7 @@ application_init(MESSENGER_Application *app,
75 notify_init("Messenger-GTK"); 75 notify_init("Messenger-GTK");
76 app->notifications = NULL; 76 app->notifications = NULL;
77 77
78 _load_ui_stylesheets(); 78 _load_ui_stylesheets(app);
79 79
80 app->chat.status = EXIT_FAILURE; 80 app->chat.status = EXIT_FAILURE;
81 app->chat.tid = 0; 81 app->chat.tid = 0;