[gtk+] icontheme: Silence some compiler warnings
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] icontheme: Silence some compiler warnings
- Date: Mon, 23 Oct 2017 12:24:03 +0000 (UTC)
commit 134ba2ebf7abfa8ef247cf253304dafa2abd227f
Author: Timm Bäder <mail baedert org>
Date: Mon Oct 23 13:39:22 2017 +0200
icontheme: Silence some compiler warnings
gtk/gtkicontheme.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 64842b4..10217b1 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4030,7 +4030,7 @@ gtk_icon_info_load_texture (GtkIconInfo *icon_info)
icon_info->texture = gsk_texture_new_for_pixbuf (pixbuf);
g_object_unref (pixbuf);
- g_object_add_weak_pointer (icon_info->texture, &icon_info->texture);
+ g_object_add_weak_pointer (G_OBJECT (icon_info->texture), (void **)&icon_info->texture);
}
if (icon_info->in_cache != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]