summaryrefslogtreecommitdiff
path: root/drivemount/drivemount.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-08 23:55:57 +0100
committermonsta <[email protected]>2020-03-04 13:13:40 +0300
commit5813185ad2d6af80676194eb53a3740fc10cda43 (patch)
tree50ab31d0a650ea6956fdac5f59314feb3ae7acb5 /drivemount/drivemount.c
parent68c7e9230d4b1e4afa89e7cd758588b075183568 (diff)
downloadmate-applets-5813185ad2d6af80676194eb53a3740fc10cda43.tar.bz2
mate-applets-5813185ad2d6af80676194eb53a3740fc10cda43.tar.xz
drivemount: Remove global variable1.22
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 b67a95cb..bbbafb34 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",