I have just unistalled everything from synaptic, I reinstalled codeblocks and now I decided to install also the package codeblocks-contrib with updated plugins.
I have opened codeblocks from terminal and I just did nothing and it has closed well, after that i reopened codeblocks from terminal and I open a .c file with it and compiled it, after that I've closed codeblocks and now it still opened: these are the last few lines from terminal:
Found 1 files:
- /home/user/Dekstop/file.c
Updating class browser...
Class browser updated.
(codeblocks:20329): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
Deinitializing plugins...
(codeblocks:20329): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'
(codeblocks:20329): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
(codeblocks:20329): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'
(codeblocks:20329): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
and it stays on the last line.