[gtkhtml] Coding style and whitespace cleanup.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Coding style and whitespace cleanup.
- Date: Mon, 20 Feb 2012 15:04:03 +0000 (UTC)
commit 374b0424b914aca0dc8cfecb95b6cf2a4b7af2fd
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Feb 18 08:36:52 2012 -0500
Coding style and whitespace cleanup.
gtkhtml/htmlcolorset.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtkhtml/htmlcolorset.c b/gtkhtml/htmlcolorset.c
index 494a0ac..d41b2c0 100644
--- a/gtkhtml/htmlcolorset.c
+++ b/gtkhtml/htmlcolorset.c
@@ -144,7 +144,7 @@ html_colorset_set_unchanged (HTMLColorSet *s,
static void
copy_to_rgba (GdkColor *in_color,
- GdkRGBA *out_rgba)
+ GdkRGBA *out_rgba)
{
g_return_if_fail (in_color != NULL);
g_return_if_fail (out_rgba != NULL);
@@ -160,7 +160,7 @@ get_prop_color (GtkWidget *w,
const gchar *name,
const gchar *dv,
gboolean silent_fallback,
- GdkRGBA *out_color)
+ GdkRGBA *out_color)
{
GdkColor *color = NULL;
GtkStyleContext *style_context = gtk_widget_get_style_context (w);
@@ -187,7 +187,7 @@ html_colorset_set_style (HTMLColorSet *s,
GtkWidget *w)
{
#define SET_GCOLOR(t,rgba) \
- if (!s->changed[HTML ## t ## Color]) { \
+ if (!s->changed[HTML ## t ## Color]) { \
GdkColor gc; \
\
gc.pixel = -1; \
@@ -195,17 +195,17 @@ html_colorset_set_style (HTMLColorSet *s,
gc.green = rgba.green * 65535.0; \
gc.blue = rgba.blue * 65535.0; \
\
- if (s->color[HTML ## t ## Color]) html_color_unref (s->color[HTML ## t ## Color]); \
- s->color[HTML ## t ## Color] = html_color_new_from_gdk_color (&gc); \
- }
+ if (s->color[HTML ## t ## Color]) html_color_unref (s->color[HTML ## t ## Color]); \
+ s->color[HTML ## t ## Color] = html_color_new_from_gdk_color (&gc); \
+ }
#define SET_COLOR_FUNC(t,st,func) \
- if (!s->changed[HTML ## t ## Color]) { \
+ if (!s->changed[HTML ## t ## Color]) { \
GdkRGBA color_rgba; \
\
func (style_context, st, &color_rgba); \
\
- SET_GCOLOR (t, color_rgba); \
- }
+ SET_GCOLOR (t, color_rgba); \
+ }
#define SET_COLOR_BG(t,st) SET_COLOR_FUNC (t, st, gtk_style_context_get_background_color)
#define SET_COLOR_FG(t,st) SET_COLOR_FUNC (t, st, gtk_style_context_get_color)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]