Silent gcc
This commit is contained in:
parent
04cb4ce053
commit
470a490163
@ -10,6 +10,8 @@ headers
|
|||||||
#include "mooedit/mooeditor.h"
|
#include "mooedit/mooeditor.h"
|
||||||
#include "mooedit/mooeditdialogs.h"
|
#include "mooedit/mooeditdialogs.h"
|
||||||
#include "mooedit/mooeditsearch.h"
|
#include "mooedit/mooeditsearch.h"
|
||||||
|
#include "mooedit/mooeditprefs.h"
|
||||||
|
#include "mooedit/mootextiter.h"
|
||||||
%%
|
%%
|
||||||
modulename moo
|
modulename moo
|
||||||
%%
|
%%
|
||||||
|
@ -258,6 +258,7 @@ static void set_text_colors (MooEdit *edit)
|
|||||||
static void set_highlight_current_line (MooEdit *edit)
|
static void set_highlight_current_line (MooEdit *edit)
|
||||||
{
|
{
|
||||||
const GdkColor *color;
|
const GdkColor *color;
|
||||||
|
GdkColor c;
|
||||||
GtkSourceView *view = GTK_SOURCE_VIEW (edit);
|
GtkSourceView *view = GTK_SOURCE_VIEW (edit);
|
||||||
|
|
||||||
color = get_color (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR);
|
color = get_color (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR);
|
||||||
@ -265,7 +266,9 @@ static void set_highlight_current_line (MooEdit *edit)
|
|||||||
moo_prefs_set_ignore_change (MOO_EDIT_PREFS_PREFIX "::" MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR,
|
moo_prefs_set_ignore_change (MOO_EDIT_PREFS_PREFIX "::" MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR,
|
||||||
"#EEF6FF");
|
"#EEF6FF");
|
||||||
color = get_color (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR);
|
color = get_color (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE_COLOR);
|
||||||
|
g_return_if_fail (color != NULL);
|
||||||
|
|
||||||
gtk_source_view_set_highlight_current_line (view, get_bool (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE));
|
gtk_source_view_set_highlight_current_line (view, get_bool (MOO_EDIT_PREFS_HIGHLIGHT_CURRENT_LINE));
|
||||||
gtk_source_view_set_highlight_current_line_color (view, color);
|
c = *color;
|
||||||
|
gtk_source_view_set_highlight_current_line_color (view, &c);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user