summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c2
-rw-r--r--libmate-panel-applet/test-dbus-applet.c9
2 files changed, 4 insertions, 7 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 33260611..8d1018d6 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -1942,7 +1942,7 @@ mate_panel_applet_constructor (GType type,
gtk_widget_set_name (widget, "PanelPlug");
_mate_panel_applet_prepare_css (context);
- g_signal_connect_swapped (G_OBJECT (priv->plug), "embedded",
+ g_signal_connect_swapped (priv->plug, "embedded",
G_CALLBACK (mate_panel_applet_setup),
applet);
diff --git a/libmate-panel-applet/test-dbus-applet.c b/libmate-panel-applet/test-dbus-applet.c
index 0da1e3ad..cb520680 100644
--- a/libmate-panel-applet/test-dbus-applet.c
+++ b/libmate-panel-applet/test-dbus-applet.c
@@ -171,18 +171,15 @@ test_applet_fill (TestApplet *applet)
mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_HAS_HANDLE);
- g_signal_connect (G_OBJECT (applet),
- "change-orient",
+ g_signal_connect (applet, "change-orient",
G_CALLBACK (test_applet_handle_orient_change),
NULL);
- g_signal_connect (G_OBJECT (applet),
- "change-size",
+ g_signal_connect (applet, "change-size",
G_CALLBACK (test_applet_handle_size_change),
NULL);
- g_signal_connect (G_OBJECT (applet),
- "change-background",
+ g_signal_connect (applet, "change-background",
G_CALLBACK (test_applet_handle_background_change),
NULL);