Use a single #ifdef HAVE_LUA/#endif for two routines (currently) used
authorGuy Harris <guy@alum.mit.edu>
Thu, 23 May 2013 03:26:22 +0000 (03:26 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 23 May 2013 03:26:22 +0000 (03:26 -0000)
only from the Lua code.

svn path=/trunk/; revision=49544

ui/gtk/main_menubar.c

index 7f1b027b99e935400254dfa1283eae899b2f60d7..371c5b5f342d6e4250adfb21d7cec2a8a3a641e2 100644 (file)
@@ -3813,13 +3813,11 @@ make_menu_xml(const char *path)
 
     return markup;
 }
-#endif
 
 /**
  * Creates an action group for the menu items in xpath, and returns it. The caller should
  * use g_object_unref() on the returned pointer if transferring scope.
  */
-#ifdef HAVE_LUA
 /* NOTE currently only used from Lua, remove this ifdef when used
   outside of #ifdef LUA */
 static GtkActionGroup*