Remove redundant SSM macros
This commit is contained in:
parent
b7c4bb0b4d
commit
371810181d
@ -67,10 +67,6 @@
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
|
||||
/* Note: use sciwrappers.h instead where possible.
|
||||
* Do not use SSM in files unrelated to scintilla. */
|
||||
#define SSM(s, m, w, l) scintilla_send_message(s, m, w, l)
|
||||
|
||||
static GHashTable *snippet_hash = NULL;
|
||||
static GtkAccelGroup *snippet_accel_group = NULL;
|
||||
static gboolean autocomplete_scope_shown = FALSE;
|
||||
|
@ -125,10 +125,6 @@ static GHashTable *named_style_hash = NULL;
|
||||
static GeanyLexerStyle gsd_default = {0x000000, 0xffffff, FALSE, FALSE};
|
||||
|
||||
|
||||
/* Note: use sciwrappers.h instead where possible.
|
||||
* Do not use SSM in files unrelated to scintilla. */
|
||||
#define SSM(s, m, w, l) scintilla_send_message(s, m, w, l)
|
||||
|
||||
/* filetypes should use the filetypes.foo [lexer_properties] group instead of hardcoding */
|
||||
static void sci_set_property(ScintillaObject *sci, const gchar *name, const gchar *value)
|
||||
{
|
||||
|
@ -42,9 +42,6 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#define SSM(s, m, w, l) scintilla_send_message(s, m, w, l)
|
||||
|
||||
|
||||
/* line numbers visibility */
|
||||
void sci_set_line_numbers(ScintillaObject *sci, gboolean set)
|
||||
{
|
||||
|
@ -28,6 +28,11 @@
|
||||
#include "ScintillaWidget.h" /* for ScintillaObject */
|
||||
|
||||
|
||||
#ifdef GEANY_PRIVATE
|
||||
#define SSM(s, m, w, l) scintilla_send_message(s, m, w, l)
|
||||
#endif
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
void sci_set_text (ScintillaObject *sci, const gchar *text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user