forked from AuroraMiddleware/gtk
Hide GtkTextAttributes functions
The type is private, so making functions operating on it public is pointless.
This commit is contained in:
parent
69b181f263
commit
ea5e186bb8
@ -244,6 +244,7 @@ private_headers = [
|
||||
'gtkstylepropertyprivate.h',
|
||||
'gtkstyleproviderprivate.h',
|
||||
'gtktestatcontextprivate.h',
|
||||
'gtktextattributes.h',
|
||||
'gtktextbufferprivate.h',
|
||||
'gtktextchildprivate.h',
|
||||
'gtktextdisplayprivate.h',
|
||||
|
@ -100,10 +100,6 @@ gtk_text_attributes_copy (GtkTextAttributes *src)
|
||||
return dest;
|
||||
}
|
||||
|
||||
G_DEFINE_BOXED_TYPE (GtkTextAttributes, gtk_text_attributes,
|
||||
gtk_text_attributes_ref,
|
||||
gtk_text_attributes_unref)
|
||||
|
||||
/**
|
||||
* gtk_text_attributes_copy_values:
|
||||
* @src: a #GtkTextAttributes
|
||||
|
@ -58,9 +58,6 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GtkTextAttributes GtkTextAttributes;
|
||||
|
||||
#define GTK_TYPE_TEXT_ATTRIBUTES (gtk_text_attributes_get_type ())
|
||||
|
||||
typedef struct _GtkTextAppearance GtkTextAppearance;
|
||||
|
||||
/**
|
||||
@ -184,23 +181,13 @@ struct _GtkTextAttributes
|
||||
char *font_features;
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkTextAttributes* gtk_text_attributes_new (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkTextAttributes* gtk_text_attributes_copy (GtkTextAttributes *src);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_text_attributes_copy_values (GtkTextAttributes *src,
|
||||
GtkTextAttributes *dest);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_text_attributes_unref (GtkTextAttributes *values);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkTextAttributes *gtk_text_attributes_ref (GtkTextAttributes *values);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_text_attributes_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user