summaryrefslogtreecommitdiff
path: root/plugins/time/pluma-time-plugin.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 12:33:12 +0200
committerraveit65 <[email protected]>2022-03-07 23:40:13 +0100
commit91fb982083508ba9d411b70b370e95430ebfff7d (patch)
treecb58ff2e38adffddfccb09c9f41a68d7d51bd935 /plugins/time/pluma-time-plugin.c
parent73d1dc813f21b9f526375338517673e459e39296 (diff)
downloadpluma-91fb982083508ba9d411b70b370e95430ebfff7d.tar.bz2
pluma-91fb982083508ba9d411b70b370e95430ebfff7d.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'plugins/time/pluma-time-plugin.c')
-rw-r--r--plugins/time/pluma-time-plugin.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/time/pluma-time-plugin.c b/plugins/time/pluma-time-plugin.c
index 4f6e0da5..c375cbcd 100644
--- a/plugins/time/pluma-time-plugin.c
+++ b/plugins/time/pluma-time-plugin.c
@@ -897,10 +897,9 @@ get_choose_format_dialog (GtkWindow *parent,
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (err_dialog))),
error_widget);
- g_signal_connect (G_OBJECT (err_dialog),
- "response",
- G_CALLBACK (gtk_widget_destroy),
- NULL);
+ g_signal_connect (err_dialog, "response",
+ G_CALLBACK (gtk_widget_destroy),
+ NULL);
gtk_widget_show_all (err_dialog);