[gnote] Fix command line options regression



commit 3f2124a3f8bbc4848117dffe8b34486d592e7d92
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Aug 27 21:28:30 2011 +0300

    Fix command line options regression
    
    The ENABLE_DBUS macro is no longer used.

 src/gnote.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 0ebe721..d10e8dc 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -453,12 +453,10 @@ namespace gnote {
         { "note-path", 0, 0, G_OPTION_ARG_STRING, &m_note_path, _("Specify the path of the directory containing the notes."), _("path") },
         { "search", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, (void*)GnoteCommandLine::parse_func, _("Open the search all notes window with the search text."), _("text") },
         { "version", 0, 0, G_OPTION_ARG_NONE, &m_show_version, _("Print version information."), NULL },
-#ifdef ENABLE_DBUS
         { "new-note", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, (void*)GnoteCommandLine::parse_func, _("Create and display a new note, with a optional title."), _("title") },
         { "open-note", 0, 0, G_OPTION_ARG_STRING, &m_open_note, _("Display the existing note matching title."), _("title/url") },
         { "start-here", 0, 0, G_OPTION_ARG_NONE, &m_open_start_here, _("Display the 'Start Here' note."), _("text") },
         { "highlight-search", 0, 0, G_OPTION_ARG_STRING, &m_highlight_search, _("Search and highlight text in the opened note."), _("text") },
-#endif        
         { NULL, 0, 0, (GOptionArg)0, NULL, NULL, NULL }
       };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]