summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2007-06-26 10:25:27 +0000
committerKristian Rietveld <kristian@src.gnome.org>2007-06-26 10:25:27 +0000
commitffcece930febbdb25ac66324441b1d5c8c2f826d (patch)
treef2ed2a943accca5bd279bd85c0173eae52cc5036 /gtk
parent4fbd7bbfac551c15155a8342dbdaf44ab69f10d3 (diff)
downloadgtk+-ffcece930febbdb25ac66324441b1d5c8c2f826d.tar.gz
deprecate GtkTooltips.
2007-06-26 Kristian Rietveld <kris@imendio.com> * gtk/gtk.symbols: * gtk/gtktooltips.[ch]: * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips. svn path=/trunk/; revision=18241
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk.symbols4
-rw-r--r--gtk/gtktooltips.c2
-rw-r--r--gtk/gtktooltips.h4
3 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index c3775ee581..7a4c2cdf4c 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -4076,6 +4076,7 @@ gtk_tooltip_trigger_tooltip_query
#if IN_HEADER(__GTK_TOOLTIPS_H__)
#if IN_FILE(__GTK_TOOLTIPS_C__)
+#ifndef GTK_DISABLE_DEPRECATED
gtk_tooltips_data_get
gtk_tooltips_disable
gtk_tooltips_enable
@@ -4083,12 +4084,11 @@ gtk_tooltips_force_window
gtk_tooltips_get_info_from_tip_window
gtk_tooltips_get_type G_GNUC_CONST
gtk_tooltips_new
-#ifndef GTK_DISABLE_DEPRECATED
gtk_tooltips_set_delay
-#endif
gtk_tooltips_set_tip
#endif
#endif
+#endif
#if IN_HEADER(__GTK_TRAY_ICON_H__)
#if IN_FILE(__GTK_TRAY_ICON_X11_C__)
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c
index df001a8aa7..e3e64720e7 100644
--- a/gtk/gtktooltips.c
+++ b/gtk/gtktooltips.c
@@ -775,6 +775,8 @@ _gtk_tooltips_toggle_keyboard_mode (GtkWidget *widget)
* Return value: %TRUE if @tip_window is displaying tooltips, otherwise %FALSE.
*
* Since: 2.4
+ *
+ * Deprecated: 2.12:
**/
gboolean
gtk_tooltips_get_info_from_tip_window (GtkWindow *tip_window,
diff --git a/gtk/gtktooltips.h b/gtk/gtktooltips.h
index 49dbcbfe47..686eeae27f 100644
--- a/gtk/gtktooltips.h
+++ b/gtk/gtktooltips.h
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#ifndef GTK_DISABLE_DEPRECATED
+
#ifndef __GTK_TOOLTIPS_H__
#define __GTK_TOOLTIPS_H__
@@ -108,3 +110,5 @@ gboolean gtk_tooltips_get_info_from_tip_window (GtkWindow *tip_window
G_END_DECLS
#endif /* __GTK_TOOLTIPS_H__ */
+
+#endif /* GTK_DISABLE_DEPRECATED */