X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkmain.h;h=549989afb5a6c81dafbea1d321aa6183f5a71d78;hb=fa4878979e0a72890ca577a210ccd7cf6291dbf0;hp=99ce6d45ab175a662c573d54f38f432b12911e95;hpb=a606ea62a156015a7a19bb93123ae19ef87e3076;p=~andy%2Fgtk diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 99ce6d45a..549989afb 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -24,14 +22,14 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_MAIN_H__ #define __GTK_MAIN_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include #ifdef G_PLATFORM_WIN32 @@ -152,8 +150,10 @@ void gtk_device_grab_add (GtkWidget *widget, void gtk_device_grab_remove (GtkWidget *widget, GdkDevice *device); +GDK_DEPRECATED_IN_3_4 guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, gpointer func_data); +GDK_DEPRECATED_IN_3_4 void gtk_key_snooper_remove (guint snooper_handler_id); GdkEvent * gtk_get_current_event (void);