diff options
author | lukefromdc <[email protected]> | 2023-07-24 12:32:29 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-07-26 18:53:38 +0200 |
commit | 7400deb9327447541b4552f15ac9c290fea11c87 (patch) | |
tree | 61475e2cf6ebd3d7768741908db8d3cae391019a | |
parent | 013273665127bc7303f06616193aea158b7e9d5d (diff) | |
download | mate-panel-7400deb9327447541b4552f15ac9c290fea11c87.tar.bz2 mate-panel-7400deb9327447541b4552f15ac9c290fea11c87.tar.xz |
notification-area: stop warning on removal
*Use automatic signal handling for changing icon size so this code doesn't get called when the applet is removed
-rw-r--r-- | applets/notification_area/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c index 74eebea0..71221b65 100644 --- a/applets/notification_area/main.c +++ b/applets/notification_area/main.c @@ -139,7 +139,7 @@ static void setup_gsettings (NaTrayApplet *applet) { applet->priv->settings = mate_panel_applet_settings_new (MATE_PANEL_APPLET (applet), NA_TRAY_SCHEMA); - g_signal_connect (applet->priv->settings, "changed::" KEY_MIN_ICON_SIZE, G_CALLBACK (gsettings_changed_min_icon_size), applet); + g_signal_connect_object (G_OBJECT(applet->priv->settings), "changed::" KEY_MIN_ICON_SIZE, G_CALLBACK (gsettings_changed_min_icon_size), applet, 0); } static void |