moved register and unregisterwidget methods to protected.
moved register and unregisterwidget methods to protected.

blueshell-next/carbon-gtk,blueshell-next/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk