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 @@
#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);
......
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