[gedit/wip/gtkapp: 180/197] Use g_str_equal
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gtkapp: 180/197] Use g_str_equal
- Date: Mon, 5 Nov 2012 15:29:22 +0000 (UTC)
commit 60831c3fd206f8d5a1af44ec7c6f474dbbbafe2d
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]