[gnome-flashback] libdesktop-background: fix black background
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] libdesktop-background: fix black background
- Date: Thu, 25 Sep 2014 17:34:41 +0000 (UTC)
commit 766aede653a1ed9ccb5ebee4458c06914cb255c9
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Sep 25 20:30:00 2014 +0300
libdesktop-background: fix black background
.../libdesktop-background/desktop-window.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libdesktop-background/desktop-window.c
b/gnome-flashback/libdesktop-background/desktop-window.c
index 2490490..ee0cdd6 100644
--- a/gnome-flashback/libdesktop-background/desktop-window.c
+++ b/gnome-flashback/libdesktop-background/desktop-window.c
@@ -251,6 +251,16 @@ desktop_window_configure_event (GtkWidget *widget,
}
static void
+desktop_window_style_updated (GtkWidget *widget)
+{
+ DesktopWindow *window = DESKTOP_WINDOW (widget);
+
+ GTK_WIDGET_CLASS (desktop_window_parent_class)->style_updated (widget);
+
+ g_signal_emit (window, signals [UPDATE_SIGNAL], 0);
+}
+
+static void
desktop_window_class_init (DesktopWindowClass *class)
{
GObjectClass *object_class;
@@ -265,6 +275,7 @@ desktop_window_class_init (DesktopWindowClass *class)
widget_class->unrealize = desktop_window_unrelaize;
widget_class->map = desktop_window_map;
widget_class->configure_event = desktop_window_configure_event;
+ widget_class->style_updated = desktop_window_style_updated;
signals [UPDATE_SIGNAL] =
g_signal_new ("update",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]