Revert 21c1c552
, "Allow initializing wxWidgets multiple times"
See #17751
This commit is contained in:
@@ -972,10 +972,5 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule);
|
|||||||
|
|
||||||
void wxSystemSettingsModule::OnExit()
|
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
|
#endif
|
||||||
|
@@ -334,10 +334,6 @@ GType wxPizza::type()
|
|||||||
static GType type;
|
static GType type;
|
||||||
if (type == 0)
|
if (type == 0)
|
||||||
{
|
{
|
||||||
type = g_type_from_name("wxPizza");
|
|
||||||
if (type)
|
|
||||||
return type;
|
|
||||||
|
|
||||||
const GTypeInfo info = {
|
const GTypeInfo info = {
|
||||||
sizeof(wxPizzaClass),
|
sizeof(wxPizzaClass),
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
|
Reference in New Issue
Block a user