[gtk+/nth-child: 10/33] styleproperty: Rename ParseFunc and PrintFunc typedefs
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/nth-child: 10/33] styleproperty: Rename ParseFunc and PrintFunc typedefs
- Date: Fri, 27 May 2011 23:04:30 +0000 (UTC)
commit 620bfa008168058bf757911ca943db96f9cbb1d8
Author: Benjamin Otte <otte redhat com>
Date: Thu May 26 01:32:01 2011 +0200
styleproperty: Rename ParseFunc and PrintFunc typedefs
Rename them to GtkStyleParseFunc and GtkStylePrintFunc, so we can export
them.
gtk/gtkstyleproperty.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 9223b4b..79106d6 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -40,20 +40,20 @@
#include "gtkthemingengine.h"
#include "gtktypebuiltins.h"
-typedef gboolean (* ParseFunc) (GtkCssParser *parser,
- GFile *base,
- GValue *value);
-typedef void (* PrintFunc) (const GValue *value,
- GString *string);
+typedef gboolean (* GtkStyleParseFunc) (GtkCssParser *parser,
+ GFile *base,
+ GValue *value);
+typedef void (* GtkStylePrintFunc) (const GValue *value,
+ GString *string);
static GHashTable *parse_funcs = NULL;
static GHashTable *print_funcs = NULL;
static GHashTable *properties = NULL;
static void
-register_conversion_function (GType type,
- ParseFunc parse,
- PrintFunc print)
+register_conversion_function (GType type,
+ GtkStyleParseFunc parse,
+ GtkStylePrintFunc print)
{
if (parse)
g_hash_table_insert (parse_funcs, GSIZE_TO_POINTER (type), parse);
@@ -1379,7 +1379,7 @@ _gtk_style_property_parse_value (const GtkStyleProperty *property,
GtkCssParser *parser,
GFile *base)
{
- ParseFunc func;
+ GtkStyleParseFunc func;
g_return_val_if_fail (value != NULL, FALSE);
g_return_val_if_fail (parser != NULL, FALSE);
@@ -1436,7 +1436,7 @@ _gtk_style_property_print_value (const GtkStyleProperty *property,
const GValue *value,
GString *string)
{
- PrintFunc func;
+ GtkStylePrintFunc func;
css_string_funcs_init ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]