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



Hey,

On Tue, Feb 28, 2017 at 04:21:26PM -0500, J0(-)|\| wrote:
cc-panel-loader.o:(.data+0x98): undefined reference to `cc_test_panel_get_type' 
collect2: error: ld returned 1 exit status 

The error says it all.

The definition of the CcTestPanel GObject isn't complete. Among other
things, it is missing the cc_test_panel_get_type definition. You only
have the declaration, not the definition. For that you need to use one
of the G_DEFINE_TYPE_* macros.

Cheers,
Rishi


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