summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-12 03:56:01 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-12 03:56:01 +0000
commit8524f510c609ebca1a9fbdc09f7464385165167e (patch)
tree139fa4a48ef2529df411dd52cd588811b2af6b62
parent39e389cc5b2fb1931f552c007e978bd5b7b01716 (diff)
downloadmetacity-8524f510c609ebca1a9fbdc09f7464385165167e.tar.gz
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
-rw-r--r--ChangeLog8
-rw-r--r--src/core/delete.c2
-rw-r--r--src/include/main.h2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 17a53ac7..7734129c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-11 Thomas Thurman <tthurman@gnome.org>
+
+ 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 <zaspire@rambler.ru>
Clean up #includes according to the GNOME Goal.
diff --git a/src/core/delete.c b/src/core/delete.c
index 7078605c..abd1fd2c 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 d06e2c5b..62106e16 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);