[nautilus] editable-label: remove useless code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] editable-label: remove useless code
- Date: Tue, 18 Oct 2011 13:37:34 +0000 (UTC)
commit 3f95c46dff1c4f71f67d2733f0487350139775cf
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 17 18:43:32 2011 -0400
editable-label: remove useless code
No need to call _set_background() on the editable label widget.
eel/eel-editable-label.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index ae98a3e..3594ad8 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -1202,17 +1202,6 @@ eel_editable_label_style_updated (GtkWidget *widget)
/* We have to clear the layout, fonts etc. may have changed */
eel_editable_label_recompute (label);
-
- /* Set the background, foreground and cursor colors based on
- * the new theme selected.
- */
- if (gtk_widget_get_realized (widget))
- {
- GtkStyleContext *style;
-
- style = gtk_widget_get_style_context (widget);
- gtk_style_context_set_background (style, gtk_widget_get_window (widget));
- }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]