Use "const gchar*" in new tooltip api. Pointed out by Torsten Schoenfeld.

* gtk/gtkstatusicon.h: Use "const gchar*" in new tooltip api.
        Pointed out by Torsten Schoenfeld.


svn path=/trunk/; revision=22133
This commit is contained in:
Matthias Clasen 2009-01-18 15:57:06 +00:00
parent ade90af533
commit d4bef92ec2
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2009-01-18 Matthias Clasen <mclasen@redhat.com>
Bug 567655 gtk_status_icon_set_tooltip_text and
gtk_status_icon_set_tooltip_markup should use gchar*
* gtk/gtkstatusicon.h: Use "const gchar*" in new tooltip api.
Pointed out by Torsten Schoenfeld.
2009-01-18 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/search_entry.c: End the search if the window

View File

@ -117,9 +117,9 @@ void gtk_status_icon_set_tooltip (GtkStatusIcon *st
void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon,
gboolean has_tooltip);
void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon,
const char *text);
const gchar *text);
void gtk_status_icon_set_tooltip_markup (GtkStatusIcon *status_icon,
const char *markup);
const gchar *markup);
void gtk_status_icon_set_visible (GtkStatusIcon *status_icon,
gboolean visible);
gboolean gtk_status_icon_get_visible (GtkStatusIcon *status_icon);