summaryrefslogtreecommitdiff
path: root/battstat/battstat-upower.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-29 10:38:15 +0100
committerraveit65 <[email protected]>2021-01-28 21:08:12 +0100
commit3b2fd26415133da19eee10ae18b61df19d5ce80f (patch)
treed8848f632cd5ce0a7fac47dd9258dd7eb56c40f2 /battstat/battstat-upower.c
parente948feaf6a87c411503aee62f97334e500cb80f1 (diff)
downloadmate-applets-3b2fd26415133da19eee10ae18b61df19d5ce80f.tar.bz2
mate-applets-3b2fd26415133da19eee10ae18b61df19d5ce80f.tar.xz
Remove unnecessary casts on g_signal_connect calls
Diffstat (limited to 'battstat/battstat-upower.c')
-rw-r--r--battstat/battstat-upower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c
index 788adfd4..da830c2b 100644
--- a/battstat/battstat-upower.c
+++ b/battstat/battstat-upower.c
@@ -318,7 +318,7 @@ error_dialog (const char *fmt , ...)
dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK, "%s", str);
- g_signal_connect_swapped (G_OBJECT (dialog), "response",
+ g_signal_connect_swapped (dialog, "response",
G_CALLBACK (gtk_widget_destroy),
G_OBJECT (dialog));