[gedit/wip/gtkapp] Use g_str_equal
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gtkapp] Use g_str_equal
- Date: Tue, 31 Jul 2012 10:16:05 +0000 (UTC)
commit e536ebd823df53203e8ff3fa18660e4c70ec8e0b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jul 31 10:58:59 2012 +0200
Use g_str_equal
gedit/gedit-app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 77939c7..d3a64b7 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -560,7 +560,7 @@ gedit_app_local_command_line (GApplication *application,
i = 1;
while (argv[i])
{
- if (strcmp (argv[i], "-s") == 0)
+ if (g_str_equal (argv[i], "-s"))
{
GApplicationFlags old_flags;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]