X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edd6813c826edc2311548da53eb83e7f1bc18d2b..1c4293cb91327247ad69e6ec8d589bfaa299db28:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 8035e5b342..80bfd6b119 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -32,6 +32,7 @@ wxTaskBarIconAreaBase::wxTaskBarIconAreaBase() if (IsProtocolSupported()) { m_widget = GTK_WIDGET(egg_tray_icon_new("systray icon")); + g_object_ref(m_widget); gtk_window_set_resizable(GTK_WINDOW(m_widget), false); wxLogTrace(_T("systray"), _T("using freedesktop.org systray spec"));