[gitg] Fix warning for non activatable command arg
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix warning for non activatable command arg
- Date: Sat, 23 Oct 2010 12:51:47 +0000 (UTC)
commit 2e67748f9b34ccf14b54856028282c51da8c0247
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sat Oct 23 14:49:22 2010 +0200
Fix warning for non activatable command arg
gitg/gitg-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-window.c b/gitg/gitg-window.c
index 2699216..fc1d111 100644
--- a/gitg/gitg-window.c
+++ b/gitg/gitg-window.c
@@ -1976,7 +1976,7 @@ load_repository_for_command_line (GitgWindow *window,
argv + 1,
selection ? selection : sel);
- if (ret)
+ if (ret && activatable)
{
gitg_window_activate (window, activatable, action);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]