summaryrefslogtreecommitdiff
blob: e4d674a3fd107fc99c83ca5fe70b97089fce2d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://bugs.gentoo.org/919092
https://github.com/lxde/lxpanel/commit/633a2d46ffd37f3acde539de9a2861d1ade49ef8

From 633a2d46ffd37f3acde539de9a2861d1ade49ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20Br=C3=BCckl?= <ib@oddnet.de>
Date: Mon, 18 Sep 2023 13:59:08 +0200
Subject: [PATCH] Fix warning that argument is of incompatible pointer type

Cast the netstatus icon appropriately.
---
 plugins/netstatus/netstatus-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/netstatus/netstatus-dialog.c b/plugins/netstatus/netstatus-dialog.c
index f982b1ed..c4e3e8c1 100644
--- a/plugins/netstatus/netstatus-dialog.c
+++ b/plugins/netstatus/netstatus-dialog.c
@@ -880,5 +880,5 @@ void netstatus_dialog_present (GtkWidget *dialog)
 
     data = g_object_get_data(G_OBJECT(dialog), "netstatus-dialog-data");
     gtk_window_present(GTK_WINDOW(dialog));
-    gtk_widget_show(data->icon);
+    gtk_widget_show(GTK_WIDGET(data->icon));
 }