remove_widget

@accepts(Gtk.Widget, RB.ShellPrefsUILocation)
@returns(none)
def remove_widget(widget, location)

Removes a widget added with rb_shell_preferences_add_widget from the preferences window.

widget :

the GtkWidget to remove from the preferences window

location :

the UI location to which the widget was originally added