NetBSD ships with pollts(2) similar to Linux specific ppoll()
[ardour.git] / libs / gtkmm2ext / actions.cc
index 7eda4df542b76be6b2c739c3fd779a7ae624143c..840c9dc4a29012285b62468f8907b813e5f9163a 100644 (file)
@@ -41,7 +41,7 @@
 #include "gtkmm2ext/actions.h"
 #include "gtkmm2ext/utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -167,7 +167,7 @@ ActionManager::get_action (const char* group_name, const char* action_name)
           gtkmm2.6, so we fall back to the C level.
        */
 
-       if (ui_manager == 0) {
+       if (! ui_manager) {
                return RefPtr<Action> ();
        }
 
@@ -187,6 +187,8 @@ ActionManager::get_action (const char* group_name, const char* action_name)
                                act = Glib::wrap (_act, true);
                                break;
                        }
+
+                       break;
                }
        }
 
@@ -282,4 +284,3 @@ ActionManager::set_toggle_action (const char* group, const char*action, bool yn)
                }
        }
 }
-