Commit 1333ad2c authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent 554e1eec
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):
......
......@@ -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) \
......
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment