summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glibext/gbuffersegment.c2
-rw-r--r--src/main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/gbuffersegment.c b/src/glibext/gbuffersegment.c
index eb7bd31..a289cd0 100644
--- a/src/glibext/gbuffersegment.c
+++ b/src/glibext/gbuffersegment.c
@@ -463,7 +463,7 @@ void g_buffer_segment_draw(GBufferSegment *segment, cairo_t *cairo, gint *x, gin
/* Fond du texte */
- if (segment->style != SRS_CLASSIC || 1)
+ if (segment->style != SRS_CLASSIC)
{
cairo_set_source_rgb(cairo,
segment->cache_bg.red / 65535.0,
diff --git a/src/main.c b/src/main.c
index 618bef3..b9764ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -169,7 +169,7 @@ int main(int argc, char **argv)
init_work_queue(G_OBJECT(editor));
- //init_all_plugins(G_OBJECT(editor));
+ init_all_plugins(G_OBJECT(editor));
server = g_db_server_new("localhost", 1337);
g_db_server_start(server);
@@ -189,7 +189,7 @@ int main(int argc, char **argv)
g_db_server_stop(server);
- //exit_all_plugins();
+ exit_all_plugins();
exit_binary_portion_colors();