Silent gcc

This commit is contained in:
Yevgen Muntyan 2005-07-25 13:11:00 +00:00
parent 04cb4ce053
commit 470a490163
2 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,8 @@ headers
#include "mooedit/mooeditor.h"
#include "mooedit/mooeditdialogs.h"
#include "mooedit/mooeditsearch.h"
#include "mooedit/mooeditprefs.h"
#include "mooedit/mootextiter.h"
%%
modulename moo
%%

View File

@ -258,6 +258,7 @@ static void set_text_colors (MooEdit *edit)
static void set_highlight_current_line (MooEdit *edit)
{
const GdkColor *color;
GdkColor c;
GtkSourceView *view = GTK_SOURCE_VIEW (edit);
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,
"#EEF6FF");
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_color (view, color);
c = *color;
gtk_source_view_set_highlight_current_line_color (view, &c);
}