aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/pixmap_save.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-03-25 08:34:46 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-03-25 08:34:46 +0000
commit1aa1f2ee676ac1a15d2812ee600a935664bbf383 (patch)
treee4f977dd04aa33a0f89d74f9fff1009c6f59086f /ui/gtk/pixmap_save.c
parent4430ea0ae3d6b30d62321a6ca6afb1f48fd990ee (diff)
Add a few missing explicit casts
svn path=/trunk/; revision=48544
Diffstat (limited to 'ui/gtk/pixmap_save.c')
-rw-r--r--ui/gtk/pixmap_save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/pixmap_save.c b/ui/gtk/pixmap_save.c
index 58c89d8113..a2fdecce2b 100644
--- a/ui/gtk/pixmap_save.c
+++ b/ui/gtk/pixmap_save.c
@@ -52,7 +52,7 @@ pixmap_save_cb(GtkWidget *w, gpointer pixmap_ptr _U_)
#if GTK_CHECK_VERSION(2,22,0)
surface_info_t *surface_info = (surface_info_t *)g_object_get_data(G_OBJECT(w), "surface-info");
#else
- GdkPixmap *pixmap = g_object_get_data(G_OBJECT(w), "pixmap");
+ GdkPixmap *pixmap = (GdkPixmap *)g_object_get_data(G_OBJECT(w), "pixmap");
#endif
GdkPixbuf *pixbuf;
GdkPixbufFormat *pixbuf_format;