[gedit] view-frame: remove usage of deprecated gtk_widget_override_background_color
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] view-frame: remove usage of deprecated gtk_widget_override_background_color
- Date: Wed, 28 Nov 2018 22:08:30 +0000 (UTC)
commit ae1645165fddd77ff004b9ae40b239a21f340714
Author: Sebastien Lafargue <slafargue gnome org>
Date: Tue Nov 27 19:16:02 2018 +0100
view-frame: remove usage of deprecated gtk_widget_override_background_color
A GtkOverlay has no window anyway so it has no effect at all
gedit/gedit-view-frame.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gedit/gedit-view-frame.c b/gedit/gedit-view-frame.c
index cb0888023..67c067a41 100644
--- a/gedit/gedit-view-frame.c
+++ b/gedit/gedit-view-frame.c
@@ -1461,7 +1461,6 @@ gedit_view_frame_init (GeditViewFrame *frame)
{
GeditDocument *doc;
GtkSourceFile *file;
- GdkRGBA transparent = {0, 0, 0, 0};
gedit_debug (DEBUG_WINDOW);
@@ -1474,8 +1473,6 @@ gedit_view_frame_init (GeditViewFrame *frame)
"visible",
G_SETTINGS_BIND_GET | G_SETTINGS_BIND_NO_SENSITIVITY);
- gtk_widget_override_background_color (GTK_WIDGET (frame), 0, &transparent);
-
doc = get_document (frame);
file = gedit_document_get_file (doc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]