Revert db9858a9 and 7d193c60, "Allow initializing wxWidgets multiple times"

See #17751
This commit is contained in:
Paul Cornett 2016-12-16 23:37:48 -08:00
parent 7d193c601d
commit fbbc2170a6
2 changed files with 0 additions and 12 deletions

View File

@ -1022,10 +1022,5 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule);
void wxSystemSettingsModule::OnExit()
{
GtkSettings* settings = gtk_settings_get_default();
g_signal_handlers_disconnect_by_func(settings,
(void*)notify_gtk_theme_name, NULL);
g_signal_handlers_disconnect_by_func(settings,
(void*)notify_gtk_font_name, NULL);
}
#endif

View File

@ -325,13 +325,6 @@ GType wxPizza::type()
static GType type;
if (type == 0)
{
type = g_type_from_name("wxPizza");
if (type)
{
parent_class = GTK_WIDGET_CLASS(g_type_class_peek_parent(g_type_class_peek(type)));
return type;
}
const GTypeInfo info = {
sizeof(wxPizzaClass),
NULL, NULL,