gail.c s/gtk_type_class/g_type_class_ref/

2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gail.c
	* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/

	* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.


svn path=/trunk/; revision=20437
This commit is contained in:
Michael Natterer 2008-06-17 21:00:28 +00:00 committed by Michael Natterer
parent 554e1eec70
commit 1333ad2ce4
4 changed files with 20 additions and 12 deletions

View File

@ -1,3 +1,10 @@
2008-06-17 Michael Natterer <mitch@imendio.com>
* gail.c
* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/
* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.
2008-06-10 Li Yuan <li.yuan@sun.com>
* gailtextview.c: (gail_text_view_set_caret_offset):

View File

@ -138,15 +138,16 @@ libgailinclude_HEADERS = \
$(gail_public_h_sources)
libgail_la_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir) \
-I$(top_srcdir)/modules/other \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gtk \
-I$(top_builddir)/gtk \
-DGTK_VERSION=\"$(GTK_VERSION)\" \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gtk \
-I$(top_builddir)/gtk \
-DGTK_VERSION=\"$(GTK_VERSION)\"\
-DGDK_DISABLE_DEPRECATED \
$(AM_CPPFLAGS)
libgail_la_CFLAGS = \
$(GTK_DEP_CFLAGS) \
$(GTK_DEBUG_FLAGS) \

View File

@ -711,10 +711,10 @@ gail_focus_tracker_init (void)
/*
* We cannot be sure that the classes exist so we make sure that they do.
*/
gtk_type_class (GTK_TYPE_WIDGET);
gtk_type_class (GTK_TYPE_ITEM);
gtk_type_class (GTK_TYPE_MENU_SHELL);
gtk_type_class (GTK_TYPE_NOTEBOOK);
g_type_class_ref (GTK_TYPE_WIDGET);
g_type_class_ref (GTK_TYPE_ITEM);
g_type_class_ref (GTK_TYPE_MENU_SHELL);
g_type_class_ref (GTK_TYPE_NOTEBOOK);
/*
* We listen for event_after signal and then check that the

View File

@ -110,7 +110,7 @@ gail_toplevel_init (GailToplevel *toplevel)
}
}
gtk_type_class (GTK_TYPE_WINDOW);
g_type_class_ref (GTK_TYPE_WINDOW);
signal_id = g_signal_lookup ("show", GTK_TYPE_WINDOW);
g_signal_add_emission_hook (signal_id, 0,