diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-03 06:40:13 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-10-03 06:40:13 +0200 |
commit | 40e09737090b1437474bb479709b95c79c45d4ac (patch) | |
tree | f1163bb5dbfdd7f87c9648f1099d278dd5a6c129 /demos | |
parent | 2fbc77fce11079beebfc9d5f1992980b34328984 (diff) | |
download | gtk+-40e09737090b1437474bb479709b95c79c45d4ac.tar.gz |
gtk-demo: Remove unneeded code
Overlays are transparent by default, no need to override them to be.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/transparent.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/gtk-demo/transparent.c b/demos/gtk-demo/transparent.c index bc61371a4c..c6e59c8fca 100644 --- a/demos/gtk-demo/transparent.c +++ b/demos/gtk-demo/transparent.c @@ -190,7 +190,6 @@ do_transparent (GtkWidget *do_widget) GtkWidget *sw; GtkWidget *overlay; GtkWidget *entry; - GdkRGBA transparent = {0, 0, 0, 0}; GtkCssProvider *provider; gchar *css; @@ -218,8 +217,6 @@ do_transparent (GtkWidget *do_widget) gtk_container_add (GTK_CONTAINER (overlay), sw); gtk_container_add (GTK_CONTAINER (window), overlay); - gtk_widget_override_background_color (overlay, 0, &transparent); - entry = gtk_entry_new (); provider = gtk_css_provider_new (); css = g_strdup_printf ("* { border-width: 0px %dpx %dpx 0px; }", |