[gtk+] gtkmain.h: Used GDK_DEPRECATED



commit 395bf54b8e2ce9e4bdbfac7392a3e48d0eb216ce
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jan 9 14:19:21 2012 +0100

    gtkmain.h: Used GDK_DEPRECATED
    
    If we use just G_GNUC_DEPRECATED then it cannot be disabled by
    an ifdef.

 gtk/gtkmain.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index f638138..900b619 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -152,10 +152,10 @@ void       gtk_device_grab_add     (GtkWidget          *widget,
 void       gtk_device_grab_remove  (GtkWidget          *widget,
                                     GdkDevice          *device);
 
-G_GNUC_DEPRECATED
+GDK_DEPRECATED
 guint      gtk_key_snooper_install (GtkKeySnoopFunc snooper,
                                     gpointer        func_data);
-G_GNUC_DEPRECATED
+GDK_DEPRECATED
 void       gtk_key_snooper_remove  (guint           snooper_handler_id);
 
 GdkEvent * gtk_get_current_event        (void);



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