summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2008-07-02 09:32:14 +0000
committerKristian Rietveld <kristian@src.gnome.org>2008-07-02 09:32:14 +0000
commit4cceb2f1dcfcd939238d7a5e1caa0bab334c4d42 (patch)
treeb05b43c007f90a85b9a2a7b56969b9165900851e /gtk/gtktoolbar.c
parente625b41a1d7535f5fb92f49ca780bebc6a414393 (diff)
downloadgtk+-4cceb2f1dcfcd939238d7a5e1caa0bab334c4d42.tar.gz
Bug 455268 - Add gtk-enable-tooltips GtkSetting
2008-07-02 Kristian Rietveld <kris@imendio.com> Bug 455268 - Add gtk-enable-tooltips GtkSetting * gtk/gtk.symbols: * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated. * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting. * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly introduced XSetting into account. * demos/gtk-demo/appwindow.c: don't use the now deprecated gtk_toolbar_set_tooltips(). svn path=/trunk/; revision=20730
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 8d126482a5..c7b17e4d1f 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -2933,6 +2933,9 @@ gtk_toolbar_unset_style (GtkToolbar *toolbar)
* @enable: set to %FALSE to disable the tooltips, or %TRUE to enable them.
*
* Sets if the tooltips of a toolbar should be active or not.
+ *
+ * Deprecated: 2.14: The toolkit-wide #GtkSettings:gtk-enable-tooltips property
+ * is now used instead.
**/
void
gtk_toolbar_set_tooltips (GtkToolbar *toolbar,
@@ -2956,6 +2959,9 @@ gtk_toolbar_set_tooltips (GtkToolbar *toolbar,
* gtk_toolbar_set_tooltips().
*
* Return value: %TRUE if tooltips are enabled
+ *
+ * Deprecated: 2.14: The toolkit-wide #GtkSettings:gtk-enable-tooltips property
+ * is now used instead.
**/
gboolean
gtk_toolbar_get_tooltips (GtkToolbar *toolbar)