gtk+ r20437 - trunk/modules/other/gail
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20437 - trunk/modules/other/gail
- Date: Tue, 17 Jun 2008 21:00:28 +0000 (UTC)
Author: mitch
Date: Tue Jun 17 21:00:28 2008
New Revision: 20437
URL: http://svn.gnome.org/viewvc/gtk+?rev=20437&view=rev
Log:
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.
Modified:
trunk/modules/other/gail/ChangeLog
trunk/modules/other/gail/Makefile.am
trunk/modules/other/gail/gail.c
trunk/modules/other/gail/gailtoplevel.c
Modified: trunk/modules/other/gail/Makefile.am
==============================================================================
--- trunk/modules/other/gail/Makefile.am (original)
+++ trunk/modules/other/gail/Makefile.am Tue Jun 17 21:00:28 2008
@@ -138,15 +138,16 @@
$(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) \
Modified: trunk/modules/other/gail/gail.c
==============================================================================
--- trunk/modules/other/gail/gail.c (original)
+++ trunk/modules/other/gail/gail.c Tue Jun 17 21:00:28 2008
@@ -711,10 +711,10 @@
/*
* 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
Modified: trunk/modules/other/gail/gailtoplevel.c
==============================================================================
--- trunk/modules/other/gail/gailtoplevel.c (original)
+++ trunk/modules/other/gail/gailtoplevel.c Tue Jun 17 21:00:28 2008
@@ -110,7 +110,7 @@
}
}
- 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]