[gnome-applets] netspeed: fix -Wincompatible-pointer-types warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] netspeed: fix -Wincompatible-pointer-types warning
- Date: Fri, 3 Apr 2020 20:15:07 +0000 (UTC)
commit 5f7c7959f31b68b0fe2ced65102e61b505701e35
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Apr 3 21:55:52 2020 +0300
netspeed: fix -Wincompatible-pointer-types warning
gnome-applets/netspeed/netspeed-applet.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnome-applets/netspeed/netspeed-applet.c b/gnome-applets/netspeed/netspeed-applet.c
index b80543a05..04545147c 100644
--- a/gnome-applets/netspeed/netspeed-applet.c
+++ b/gnome-applets/netspeed/netspeed-applet.c
@@ -830,12 +830,12 @@ details_cb (GSimpleAction *action,
}
title = g_strdup_printf(_("Device Details for %s"), applet->devinfo.name);
- applet->details = GTK_DIALOG(gtk_dialog_new_with_buttons(title,
- NULL,
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
- NULL));
+ applet->details = gtk_dialog_new_with_buttons (title,
+ NULL,
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ NULL);
g_free(title);
gtk_dialog_set_default_response(GTK_DIALOG(applet->details), GTK_RESPONSE_CLOSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]