summaryrefslogtreecommitdiff
path: root/mate-panel/libpanel-util
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/libpanel-util')
-rw-r--r--mate-panel/libpanel-util/panel-error.c6
-rw-r--r--mate-panel/libpanel-util/panel-icon-chooser.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/mate-panel/libpanel-util/panel-error.c b/mate-panel/libpanel-util/panel-error.c
index ccb3b2f1..81867a4a 100644
--- a/mate-panel/libpanel-util/panel-error.c
+++ b/mate-panel/libpanel-util/panel-error.c
@@ -80,9 +80,9 @@ panel_error_dialog (GtkWindow *parent,
gtk_widget_show_all (dialog);
if (auto_destroy)
- g_signal_connect_swapped (G_OBJECT (dialog), "response",
- G_CALLBACK (gtk_widget_destroy),
- G_OBJECT (dialog));
+ g_signal_connect_swapped (dialog, "response",
+ G_CALLBACK (gtk_widget_destroy),
+ dialog);
if (freeme)
g_free (freeme);
diff --git a/mate-panel/libpanel-util/panel-icon-chooser.c b/mate-panel/libpanel-util/panel-icon-chooser.c
index c99503bd..26fee9af 100644
--- a/mate-panel/libpanel-util/panel-icon-chooser.c
+++ b/mate-panel/libpanel-util/panel-icon-chooser.c
@@ -431,9 +431,9 @@ _panel_icon_chooser_clicked (GtkButton *button)
chooser->priv->filechooser = filechooser;
- g_signal_connect (G_OBJECT (filechooser), "destroy",
- G_CALLBACK (gtk_widget_destroyed),
- &chooser->priv->filechooser);
+ g_signal_connect (filechooser, "destroy",
+ G_CALLBACK (gtk_widget_destroyed),
+ &chooser->priv->filechooser);
gtk_widget_show (filechooser);
}