]> Pileus Git - ~andy/gtk/commitdiff
deprecate GtkTooltips.
authorKristian Rietveld <kris@imendio.com>
Tue, 26 Jun 2007 10:25:27 +0000 (10:25 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Tue, 26 Jun 2007 10:25:27 +0000 (10:25 +0000)
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

docs/reference/gtk/tmpl/gtktooltips.sgml
gtk/gtk.symbols
gtk/gtktooltips.c
gtk/gtktooltips.h

index d8c75e09476f6222acf3f901f444ccd4b5c3f18c..1cf7ab54c31df48db6a78fe5b6185260f6fb67de 100644 (file)
@@ -102,6 +102,7 @@ Information about the tooltip (if any) associated with an arbitrary widget can b
 @widget: 
 @tip_text: 
 @tip_private: 
+@Deprecated: 2.12:
 
 <!-- ##### FUNCTION gtk_tooltips_new ##### -->
 <para>
@@ -109,6 +110,7 @@ Creates an empty group of tooltips. This function initialises a #GtkTooltips str
 </para>
 
 @Returns: a new #GtkTooltips group for you to use.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_enable ##### -->
@@ -117,6 +119,7 @@ Allows the user to see your tooltips as they navigate your application.
 </para>
 
 @tooltips: a #GtkTooltips.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_disable ##### -->
@@ -125,6 +128,7 @@ Causes all tooltips in @tooltips to become inactive. Any widgets that have tips
 </para>
 
 @tooltips: a #GtkTooltips.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_set_delay ##### -->
@@ -134,6 +138,7 @@ Sets the time between the user moving the mouse over a widget and the widget's t
 
 @tooltips: a #GtkTooltips.
 @delay: an integer value representing milliseconds.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_set_tip ##### -->
@@ -145,6 +150,7 @@ Adds a tooltip containing the message @tip_text to the specified #GtkWidget.
 @widget: the #GtkWidget you wish to associate the tip with.
 @tip_text: a string containing the tip itself.
 @tip_private: a string of any further information that may be useful if the user gets stuck.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_data_get ##### -->
@@ -154,6 +160,7 @@ Retrieves any #GtkTooltipsData previously associated with the given widget.
 
 @widget: a #GtkWidget.
 @Returns: a #GtkTooltipsData struct, or %NULL if the widget has no tooltip.
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_force_window ##### -->
@@ -166,6 +173,7 @@ care of this.
 </para>
 
 @tooltips: a #GtkToolTips
+@Deprecated: 2.12:
 
 
 <!-- ##### FUNCTION gtk_tooltips_get_info_from_tip_window ##### -->
@@ -177,5 +185,6 @@ care of this.
 @tooltips: 
 @current_widget: 
 @Returns: 
+@Deprecated: 2.12:
 
 
index c3775ee58189d410d58e3601b72bff80f2f76f65..7a4c2cdf4c8e0aa0ba3671f4789da6eb62181c0c 100644 (file)
@@ -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__)
index df001a8aa7a60db3033125c8bb15e6f50ba21fd7..e3e64720e77557b883896f78c25a7a2579370405 100644 (file)
@@ -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,
index 49dbcbfe470c57749b7bab17dd5d756f1a1b2973..686eeae27f0a8cae93a9be447e364261d6d8604c 100644 (file)
@@ -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 */