[five-or-more/headerbar] Remove some unintentionally-pushed test code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/headerbar] Remove some unintentionally-pushed test code
- Date: Mon, 25 Nov 2013 04:45:49 +0000 (UTC)
commit 7a183c8e0a0dc223076915c2e0ef07d9aa609655
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Nov 24 22:45:25 2013 -0600
Remove some unintentionally-pushed test code
src/glines.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/glines.c b/src/glines.c
index 423fed1..0b1aea2 100644
--- a/src/glines.c
+++ b/src/glines.c
@@ -279,12 +279,12 @@ refresh_preview_surfaces (void)
GdkPixbuf *scaled = NULL;
GtkWidget *widget = preview_widgets[0];
GtkStyleContext *context;
- GdkRGBA bg = {0.0, 0.0, 0.0, 1.0};
+ GdkRGBA bg;
cairo_t *cr;
GdkRectangle preview_rect;
-// context = gtk_widget_get_style_context (widget);
-// gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &bg);
+ context = gtk_widget_get_style_context (widget);
+ gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &bg);
/* Like the refresh_pixmaps() function, we may be called before
* the window is ready. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]