Re: Issue adding new panel to gnome-control-panel



On Tue, 2017-02-28 at 16:21 -0500, J0(-)|\| wrote:
--- gnome-control-center/gnome-control-center-3.20.1/shell/cc-panel-
loader.c    2017-03-01 14:53:18.641426171 +0000
+++ gnome-control-center-origin/gnome-control-center-3.20.1/shell/cc-
panel-loader.c    2017-02-27 18:19:16.000000000 +0000
@@ -50,7 +50,6 @@
 extern GType cc_color_panel_get_type (void);
 extern GType cc_date_time_panel_get_type (void);
 extern GType cc_display_panel_get_type (void);
-extern GType cc_test_panel_get_type (void);
 extern GType cc_info_panel_get_type (void);
 extern GType cc_keyboard_panel_get_type (void);
 extern GType cc_mouse_panel_get_type (void);
@@ -95,7 +94,6 @@
   PANEL_TYPE("color",            cc_color_panel_get_type        ),
   PANEL_TYPE("datetime",         cc_date_time_panel_get_type    ),
   PANEL_TYPE("display",          cc_display_panel_get_type      ),
-  PANEL_TYPE("test",         cc_test_panel_get_type     ),
   PANEL_TYPE("info",             cc_info_panel_get_type         ),
   PANEL_TYPE("keyboard",         cc_keyboard_panel_get_type     ),
   PANEL_TYPE("mouse",            cc_mouse_panel_get_type        ),

You forgot to add an include for your cc-test-panel.h
in this file.


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