Kaydet (Commit) 37181018 authored tarafından Matthew Brush's avatar Matthew Brush Kaydeden (comit) Matthew Brush

Remove redundant SSM macros

üst b7c4bb0b
...@@ -67,10 +67,6 @@ ...@@ -67,10 +67,6 @@
#include <gdk/gdkkeysyms.h> #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 GHashTable *snippet_hash = NULL;
static GtkAccelGroup *snippet_accel_group = NULL; static GtkAccelGroup *snippet_accel_group = NULL;
static gboolean autocomplete_scope_shown = FALSE; static gboolean autocomplete_scope_shown = FALSE;
......
...@@ -125,10 +125,6 @@ static GHashTable *named_style_hash = NULL; ...@@ -125,10 +125,6 @@ static GHashTable *named_style_hash = NULL;
static GeanyLexerStyle gsd_default = {0x000000, 0xffffff, FALSE, FALSE}; 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 */ /* 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) static void sci_set_property(ScintillaObject *sci, const gchar *name, const gchar *value)
{ {
......
...@@ -42,9 +42,6 @@ ...@@ -42,9 +42,6 @@
#include <string.h> #include <string.h>
#define SSM(s, m, w, l) scintilla_send_message(s, m, w, l)
/* line numbers visibility */ /* line numbers visibility */
void sci_set_line_numbers(ScintillaObject *sci, gboolean set) void sci_set_line_numbers(ScintillaObject *sci, gboolean set)
{ {
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
#include "ScintillaWidget.h" /* for ScintillaObject */ #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 G_BEGIN_DECLS
void sci_set_text (ScintillaObject *sci, const gchar *text); void sci_set_text (ScintillaObject *sci, const gchar *text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment