[vte/vte-next] fixup! Add style properties for the 256 colour palette entries
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] fixup! Add style properties for the 256 colour palette entries
- Date: Sun, 22 May 2011 22:19:56 +0000 (UTC)
commit 7b16a592d978d6284125a8d69adb1cb0d945a3e2
Author: Christian Persch <chpe gnome org>
Date: Sun May 22 22:47:14 2011 +0200
fixup! Add style properties for the 256 colour palette entries
src/palette.c | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/src/palette.c b/src/palette.c
index f6dfaa9..d1c99da 100644
--- a/src/palette.c
+++ b/src/palette.c
@@ -81,32 +81,32 @@ static void
write_style_property (const char *property_name,
const GdkRGBA *color)
{
- g_print ("/**\n"
- " * VteTerminal: %s\n"
- " *\n"
- " * Since: 0.30\n"
- " */\n"
- "\n"
- "gtk_widget_class_install_style_property\n"
- " (widget_class,\n"
- " g_param_spec_boxed (\"%s\", NULL, NULL,\n"
- " GDK_TYPE_RGBA,\n"
- " G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));\n"
- "\n",
- property_name, property_name);
+ g_print ("/**\n"
+ " * VteTerminal: %s\n"
+ " *\n"
+ " * Since: 0.30\n"
+ " */\n"
+ "\n"
+ "gtk_widget_class_install_style_property\n"
+ " (widget_class,\n"
+ " g_param_spec_boxed (\"%s\", NULL, NULL,\n"
+ " GDK_TYPE_RGBA,\n"
+ " G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));\n"
+ "\n",
+ property_name, property_name);
}
static void
write_css_property (const char *property_name,
const GdkRGBA *color)
{
- char *color_string;
+ char *color_string;
- color_string = gdk_rgba_to_string (color);
- g_print ("\"-VteTerminal-%s: %s;\\n\"\n",
- property_name,
- color_string);
- g_free (color_string);
+ color_string = gdk_rgba_to_string (color);
+ g_print ("\"-VteTerminal-%s: %s;\\n\"\n",
+ property_name,
+ color_string);
+ g_free (color_string);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]