Skip to content

Commit

Permalink
Misc build related fixes
Browse files Browse the repository at this point in the history
Needed to compile against Geany's linkage-cleanup branch but they
are good changes regardless.
  • Loading branch information
kugel- committed Apr 1, 2015
1 parent bd3ee19 commit 995e7ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
3 changes: 1 addition & 2 deletions codenav/src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/

#include "utils.h"
#include "geanyplugin.h"

/**
* @brief Function which returns the extension of the file path which
Expand Down Expand Up @@ -107,4 +107,3 @@ strrpos(const gchar *haystack, const gchar *needle)
return p - haystack;
return -1; // not found
}

1 change: 1 addition & 0 deletions devhelp/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ devhelp_la_CFLAGS = \

devhelp_la_LIBADD = \
$(DEVHELP_LIBS) \
$(COMMONLIBS) \
$(top_builddir)/devhelp/devhelp/libdevhelp-2.la

include $(top_srcdir)/build/cppcheck.mk
11 changes: 1 addition & 10 deletions geanyminiscript/src/gms_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* \brief it is the graphical user interface of the geany miniscript plugin
*/
#include "config.h"
#include "geany.h"
#include "geanyplugin.h"

#include <glib/gstdio.h>
#include <glib/gprintf.h>
Expand All @@ -43,15 +43,6 @@
#include <locale.h>
#endif

/* geany headers */
#include "support.h"
#include "plugindata.h"
#include "editor.h"
#include "document.h"
#include "prefs.h"
#include "utils.h"
#include "ui_utils.h"

/* user header */
#include "gms_debug.h"
#include "gms.h"
Expand Down
10 changes: 1 addition & 9 deletions shiftcolumn/src/shiftcolumn.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,12 @@
# include "config.h"
#endif

#include "geany.h"
#include "support.h"
#include "geanyplugin.h"

#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif

#include "ui_utils.h"

#include "document.h"
#include "keybindings.h"
#include "plugindata.h"
#include "geanyfunctions.h"

#include <glib.h>
#include <glib/gprintf.h>
#include <gdk/gdkkeysyms.h>
Expand Down

0 comments on commit 995e7ea

Please sign in to comment.