From 8524f510c609ebca1a9fbdc09f7464385165167e Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Wed, 12 Nov 2008 03:56:01 +0000 Subject: [PATCH] Removed deprecated calls. Closes #560445. * src/core/delete.c: remove deprecated g_strcasecmp. * src/include/main.h: no actual deprecated call, but a mention of one which was out of date. svn path=/trunk/; revision=4018 --- ChangeLog | 8 ++++++++ src/core/delete.c | 2 +- src/include/main.h | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17a53ac76..7734129c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-11-11 Thomas Thurman + + Removed deprecated calls. Closes #560445. + + * src/core/delete.c: remove deprecated g_strcasecmp. + * src/include/main.h: no actual deprecated call, but + a mention of one which was out of date. + 2008-11-11 Maxim Ermilov Clean up #includes according to the GNOME Goal. diff --git a/src/core/delete.c b/src/core/delete.c index 7078605c1..abd1fd2c4 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -491,7 +491,7 @@ meta_window_present_delete_dialog (MetaWindow *window, guint32 timestamp) if (w->xtransient_for == window->xwindow && w->res_class && - g_strcasecmp (w->res_class, "metacity-dialog") == 0) + g_ascii_strcasecmp (w->res_class, "metacity-dialog") == 0) { meta_window_activate (w, timestamp); break; diff --git a/src/include/main.h b/src/include/main.h index d06e2c5bc..62106e16b 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -35,7 +35,7 @@ typedef enum /* exit immediately */ void meta_exit (MetaExitCode code); -/* g_main_quit() then fall out of main() */ +/* g_main_loop_quit() then fall out of main() */ void meta_quit (MetaExitCode code); void meta_restart (void);