summaryrefslogtreecommitdiffstats
path: root/src/qt_theme_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt_theme_draw.c')
-rw-r--r--src/qt_theme_draw.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 8e30d24..02e462f 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -1927,7 +1927,7 @@ set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type)
GdkPixmap *pixmap;
gint parent_relative;
GdkPixmap* pix_test;
-
+
/* What kind of horrible person would store a pointer to a widget here... */
void* parent = 0;
gdk_window_get_user_data(window, &parent);
@@ -1937,7 +1937,7 @@ set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type)
}
else
pix_test = style->bg_pixmap[state_type];
-
+
if (pix_test)
{
if (pix_test == (GdkPixmap*) GDK_PARENT_RELATIVE)
@@ -1951,7 +1951,7 @@ set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type)
parent_relative = FALSE;
gdk_drawable_set_colormap(pixmap, style->colormap);
}
-
+
if (pixmap && !gdk_drawable_get_colormap (pixmap)) gdk_drawable_set_colormap (pixmap, gdk_drawable_get_colormap (window));
gdk_window_set_back_pixmap (window, pixmap, parent_relative);
}
@@ -1984,20 +1984,20 @@ qtengine_style_class_init (QtEngineStyleClass *klass)
style_class->draw_option = draw_option;
style_class->draw_tab = draw_tab;
style_class->draw_shadow_gap = draw_shadow_gap;
-
+
/* box around notebooks */
style_class->draw_box_gap = draw_box_gap;
/* the tab */
style_class->draw_extension = draw_extension;
-
+
style_class->draw_focus = draw_focus;
style_class->draw_handle = draw_handle;
style_class->draw_layout = draw_layout;
style_class->draw_slider = draw_slider;
-
+
style_class->realize = realize;
-
- /* style_class->set_background = set_background;*/
+
+ style_class->set_background = set_background;
}