[totem] backend: Fix for GtkStyle changes in GTK+
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Fix for GtkStyle changes in GTK+
- Date: Mon, 6 Dec 2010 15:22:39 +0000 (UTC)
commit d0ebe92204382c04f5b751897e190530a5e42561
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 6 15:22:03 2010 +0000
backend: Fix for GtkStyle changes in GTK+
"It is no longer necessary to call gtk_widget_style_attach(),
gtk_style_attach(), gtk_style_detach() or gtk_widget_ensure_style()."
Cool :)
src/backend/bacon-video-widget-gst-0.10.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 417c8d2..3914191 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -616,8 +616,6 @@ bacon_video_widget_realize (GtkWidget * widget)
gdk_window_set_background (window, &black);
gdk_window_set_background (window, &black);
- gtk_widget_set_style (widget,
- gtk_style_attach (gtk_widget_get_style (widget), window));
gtk_widget_set_realized (widget, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]