diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 12:30:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 13:16:42 +0800 |
commit | 81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef (patch) | |
tree | 0211046a4e44ba2a0e82b1c1ce8f9a903552f979 /widgets/table | |
parent | 13cf1d104bbacffaf09393678c12a7efadd53139 (diff) | |
download | gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.gz gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.bz2 gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.lz gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.xz gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.tar.zst gsoc2013-evolution-81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-header-utils.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index edcf3313e6..f8080997be 100644 --- a/widgets/table/e-table-header-utils.c +++ b/widgets/table/e-table-header-utils.c @@ -109,6 +109,7 @@ e_table_header_width_extras (GtkStyle *style) /* Creates a pixmap that is a composite of a background color and the upper-left * corner rectangle of a pixbuf. */ +#if 0 static GdkPixmap * make_composite_pixmap (GdkDrawable *drawable, GdkGC *gc, GdkPixbuf *pixbuf, GdkColor *bg, gint width, gint height, @@ -216,6 +217,7 @@ make_composite_pixmap (GdkDrawable *drawable, GdkGC *gc, return pixmap; } +#endif /* Default width of the elision arrow in pixels */ #define ARROW_WIDTH 4 @@ -407,7 +409,7 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, gint pwidth, pheight; gint clip_width, clip_height; gint xpos; - GdkPixmap *pixmap; + /* GdkPixmap *pixmap; */ g_return_if_fail (ecol->pixbuf != NULL); @@ -435,9 +437,9 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, layout, ecol->text, inner_width - (xpos - inner_x), FALSE); } - /* FIXME: For some reason, under clutter gdk_draw_rgb_image_dithalign crashes + /* FIXME: For some reason, under clutter gdk_draw_rgb_image_dithalign crashes * Debug that later */ -#if 0 +#if 0 pixmap = make_composite_pixmap (drawable, gc, ecol->pixbuf, &style->bg[state], clip_width, clip_height, @@ -456,12 +458,12 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, } #endif gdk_draw_pixbuf (drawable, gc, - ecol->pixbuf, - 0, 0, + ecol->pixbuf, + 0, 0, xpos, inner_y + (inner_height - clip_height) / 2, -1, -1, GDK_RGB_DITHER_NONE, - 0, 0); + 0, 0); } else { e_table_draw_elided_string (drawable, gc, widget, inner_x, inner_y, |