aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-23 21:34:03 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-23 21:34:03 +0200
commite33252f9957b93f4572c89a4dc37df85a23ce91a (patch)
tree70c90f645401ca5fc83193a1bcee0c4799cfdffc /src
parentc35857b21e7626e2f8770e32ab2e19b8ba0b318e (diff)
Get rid of background thing
Diffstat (limited to 'src')
-rw-r--r--src/sc_editor.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index c1b2a22..e54e60a 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -1533,7 +1533,6 @@ SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock **stylesheets,
{
SCEditor *sceditor;
GtkTargetEntry targets[1];
- GError *err;
sceditor = g_object_new(SC_TYPE_EDITOR, NULL);
@@ -1555,12 +1554,7 @@ SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock **stylesheets,
sceditor->stylesheets = copy_ss_list(stylesheets);
- err = NULL;
- sceditor->bg_pixbuf = gdk_pixbuf_new_from_file(DATADIR"/colloquium/sky.png", &err);
- if ( sceditor->bg_pixbuf == NULL ) {
- fprintf(stderr, "Failed to load background: %s\n",
- err->message);
- }
+ sceditor->bg_pixbuf = NULL;
gtk_widget_set_size_request(GTK_WIDGET(sceditor),
sceditor->w, sceditor->h);