Make gtk_check_version() return const. (#496734, Nicolas Joseph)

2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmain.[hc]: Make gtk_check_version() return const.
        (#496734, Nicolas Joseph)



svn path=/trunk/; revision=19000
This commit is contained in:
Matthias Clasen 2007-11-19 05:34:19 +00:00 committed by Matthias Clasen
parent 0add6313d3
commit 5f4e93fe0a
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.[hc]: Make gtk_check_version() return const.
(#496734, Nicolas Joseph)
2007-11-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c: Correct docs for program-name property.

View File

@ -202,7 +202,7 @@ static const GDebugKey gtk_debug_keys[] = {
* The returned string is owned by GTK+ and should not be modified
* or freed.
**/
gchar*
const gchar*
gtk_check_version (guint required_major,
guint required_minor,
guint required_micro)

View File

@ -76,9 +76,9 @@ GTKMAIN_C_VAR const guint gtk_minor_version;
GTKMAIN_C_VAR const guint gtk_micro_version;
GTKMAIN_C_VAR const guint gtk_binary_age;
GTKMAIN_C_VAR const guint gtk_interface_age;
gchar* gtk_check_version (guint required_major,
guint required_minor,
guint required_micro);
const gchar* gtk_check_version (guint required_major,
guint required_minor,
guint required_micro);
/* Initialization, exit, mainloop and miscellaneous routines