[eog] Fix compiler warning



commit f4766644dd558a1c5c6a149226a4ab3d4c81796b
Author: Felix Riemann <friemann gnome org>
Date:   Sun Dec 13 11:53:01 2009 +0100

    Fix compiler warning

 src/eog-close-confirmation-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-close-confirmation-dialog.c b/src/eog-close-confirmation-dialog.c
index 04b16ff..e3b5ad8 100644
--- a/src/eog-close-confirmation-dialog.c
+++ b/src/eog-close-confirmation-dialog.c
@@ -112,7 +112,7 @@ static GdkPixbuf*
 get_nothumb_pixbuf (void)
 {
 	static GOnce nothumb_once = G_ONCE_INIT;
-	g_once (&nothumb_once, eog_close_confirmation_dialog_get_icon, "image-x-generic");
+	g_once (&nothumb_once, (GThreadFunc) eog_close_confirmation_dialog_get_icon, "image-x-generic");
 	return GDK_PIXBUF (g_object_ref (nothumb_once.retval));
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]