Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Thu, 03 Mar 2016 16:31:40 UTC
Commit: e09f539b1dc5be714f10a2425806706c8b14bf8a
https://github.com/geany/geany-plugins/commit/e09f539b1dc5be714f10a24258067…
Log Message:
-----------
geanyminiscript: Don't access private fields
This slightly changes the behavior as it will now follow the setting
from the project open at startup, if any. It's however probably rather
an improvement, although caching the value is likely not to be a good
idea anyway.
Modified Paths:
--------------
geanyminiscript/src/gms.c
Modified: geanyminiscript/src/gms.c
4 lines changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -235,9 +235,11 @@ static void item_activate(GtkMenuItem *menuitem, gpointer gdata)
*/
void plugin_init(GeanyData *data)
{
+ const GeanyIndentPrefs *iprefs = editor_get_indent_prefs(NULL);
+
gms_hnd = gms_new(geany->main_widgets->window,
data->interface_prefs->editor_font ,
- data->editor_prefs->indentation->width,
+ iprefs->width,
geany->app->configdir
) ;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sat, 20 Feb 2016 17:17:57 UTC
Commit: 2d67ea260ba0c26893b2e6f132700c586cb64b59
https://github.com/geany/geany-plugins/commit/2d67ea260ba0c26893b2e6f132700…
Log Message:
-----------
codenav: Cleanup Geany includes
Modified Paths:
--------------
codenav/src/codenavigation.h
Modified: codenav/src/codenavigation.h
12 lines changed, 1 insertions(+), 11 deletions(-)
===================================================================
@@ -23,27 +23,17 @@
#define CODENAVIGATION_H
/* First */
-#include "geany.h" /* for the GeanyApp data type */
+#include <geanyplugin.h>
/* Other includes */
-#include "editor.h" /* for the declaration of the GeanyEditor struct, not strictly necessary
- as it will be also included by plugindata.h */
-#include "document.h" /* for the declaration of the GeanyDocument struct */
-#include "ui_utils.h"
#include "Scintilla.h" /* for the SCNotification struct */
-#include "keybindings.h"
-#include "filetypes.h"
#include <gdk/gdkkeysyms.h>
#include <string.h>
#include "switch_head_impl.h"
-/* Last */
-#include "plugindata.h" /* this defines the plugin API */
-#include "geanyfunctions.h" /* this wraps geany_functions function pointers */
-
/* Debug flag */
/*#define CODE_NAVIGATION_DEBUG*/
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).