Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (26 sloc) 0.766 kb
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
#include <eel/eel-background.h>
#include <gtk/gtk.h>
#define PATTERNS_DIR "/mate-source/eel/data/patterns"
main (int argc, char *argv[])
GtkWidget *window;
EelBackground *background;
char *image_uri;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "destroy",
gtk_main_quit, NULL);
background = eel_get_widget_background (window);
eel_background_set_color (background,
image_uri = g_filename_to_uri (PATTERNS_DIR "/50s.png", NULL, NULL);
#if 1
eel_background_set_image_uri (background, image_uri);
g_free (image_uri);
gtk_widget_show_all (window);
gtk_main ();
return 0;
Jump to Line
Something went wrong with that request. Please try again.