summaryrefslogtreecommitdiff
path: root/drivemount/drivemount.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-08 23:55:57 +0100
committerraveit65 <[email protected]>2020-02-29 15:45:09 +0100
commit42818f5e0569eb9045c009a9a9b7366f4cfba727 (patch)
treec43d6537b7c060fb9a9c4c99fa5d51394f3c4a98 /drivemount/drivemount.c
parent71d007c4765efb844c5d6c960a78f479ff7196d9 (diff)
downloadmate-applets-42818f5e0569eb9045c009a9a9b7366f4cfba727.tar.bz2
mate-applets-42818f5e0569eb9045c009a9a9b7366f4cfba727.tar.xz
drivemount: Remove global variable
Diffstat (limited to 'drivemount/drivemount.c')
-rw-r--r--drivemount/drivemount.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c
index 311b628d..84d6f77f 100644
--- a/drivemount/drivemount.c
+++ b/drivemount/drivemount.c
@@ -189,13 +189,8 @@ applet_factory (MatePanelApplet *applet,
mate_panel_applet_set_flags (applet, MATE_PANEL_APPLET_EXPAND_MINOR);
mate_panel_applet_set_background_widget (applet, GTK_WIDGET (applet));
- settings = g_settings_new ( "org.mate.drivemount");
-
drive_list = drive_list_new ();
- g_signal_connect(settings,
- "changed::drivemount-checkmark-color",
- G_CALLBACK (settings_color_changed),
- drive_list);
+
gtk_container_add (GTK_CONTAINER (applet), drive_list);
g_signal_connect_object (applet, "change_orient",