[gnome-control-center] main: Init libhandy



commit 0ece5786586ce65f6ef2e117b0af27fc92a6d174
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Nov 7 09:16:34 2018 +0100

    main: Init libhandy
    
    This will allow to use libhandy's translations and to init its types.

 shell/main.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/shell/main.c b/shell/main.c
index c0488149c..e38aeeede 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -33,6 +33,9 @@
 #include <cheese-gtk.h>
 #endif /* HAVE_CHEESE */
 
+#define HANDY_USE_UNSTABLE_API
+#include <handy.h>
+
 #include "cc-application.h"
 
 void
@@ -46,6 +49,8 @@ initialize_dependencies (gint    *argc,
   #ifdef HAVE_CHEESE
     cheese_gtk_init (argc, argv);
   #endif /* HAVE_CHEESE */
+
+    hdy_init (argc, argv);
 }
 
 int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]