# HG changeset patch # User Elliott Sales de Andrade # Date 1318720295 0 # Node ID 1cec4425d0cc289f54ee2da58d14a0d04eab8c8a # Parent b8646c6ae19a6cf978ca1b0eb204852a741d0c98 Hide unused gtkimhtml structs (aka, the easy ones). diff -r b8646c6ae19a -r 1cec4425d0cc ChangeLog.API --- a/ChangeLog.API Fri Oct 14 19:24:43 2011 +0000 +++ b/ChangeLog.API Sat Oct 15 23:11:35 2011 +0000 @@ -190,7 +190,12 @@ * PurplePluginProtocolInfo.get_cb_away * serv_got_attention * serv_send_attention + * struct _GtkIMHtmlAnimation * struct _GtkIMHtmlFontDetail + * struct _GtkIMHtmlHr + * struct _GtkIMHtmlImage + * struct _GtkIMHtmlScalable + * struct _GtkSmileyTree * struct _PidginChatPane * struct _PidginImPane * struct _PurpleAttentionType diff -r b8646c6ae19a -r 1cec4425d0cc pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Fri Oct 14 19:24:43 2011 +0000 +++ b/pidgin/gtkimhtml.c Sat Oct 15 23:11:35 2011 +0000 @@ -83,6 +83,36 @@ GtkTextMark *mark; }; +struct _GtkIMHtmlScalable { + void (*scale)(struct _GtkIMHtmlScalable *, int, int); + void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); + void (*free)(struct _GtkIMHtmlScalable *); +}; + +struct _GtkIMHtmlHr { + GtkIMHtmlScalable scalable; + GtkWidget *sep; +}; + +struct _GtkIMHtmlImage { + GtkIMHtmlScalable scalable; + GtkImage *image; /**< Contains the scaled version of this pixbuf. */ + GdkPixbuf *pixbuf; /**< The original pixbuf, before any scaling. */ + GtkTextMark *mark; + gchar *filename; + int width; + int height; + int id; + GtkWidget *filesel; +}; + +struct _GtkIMHtmlAnimation { + GtkIMHtmlImage imhtmlimage; + GdkPixbufAnimation *anim; /**< The original animation, before any scaling. */ + GdkPixbufAnimationIter *iter; + guint timer; +}; + struct _GtkIMHtmlLink { GtkIMHtml *imhtml; @@ -90,6 +120,12 @@ GtkTextTag *tag; }; +struct _GtkSmileyTree { + GString *values; + GtkSmileyTree **children; + GtkIMHtmlSmiley *image; +}; + typedef struct { char *name; int length; diff -r b8646c6ae19a -r 1cec4425d0cc pidgin/gtkimhtml.h --- a/pidgin/gtkimhtml.h Fri Oct 14 19:24:43 2011 +0000 +++ b/pidgin/gtkimhtml.h Sat Oct 15 23:11:35 2011 +0000 @@ -148,12 +148,6 @@ GList *protocols; /* List of GtkIMHtmlProtocol's */ }; -struct _GtkSmileyTree { - GString *values; - GtkSmileyTree **children; - GtkIMHtmlSmiley *image; -}; - struct _GtkIMHtmlSmiley { gchar *smile; gchar *file; @@ -167,36 +161,6 @@ gsize datasize; }; -struct _GtkIMHtmlScalable { - void (*scale)(struct _GtkIMHtmlScalable *, int, int); - void (*add_to)(struct _GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *); - void (*free)(struct _GtkIMHtmlScalable *); -}; - -struct _GtkIMHtmlImage { - GtkIMHtmlScalable scalable; - GtkImage *image; /**< Contains the scaled version of this pixbuf. */ - GdkPixbuf *pixbuf; /**< The original pixbuf, before any scaling. */ - GtkTextMark *mark; - gchar *filename; - int width; - int height; - int id; - GtkWidget *filesel; -}; - -struct _GtkIMHtmlAnimation { - GtkIMHtmlImage imhtmlimage; - GdkPixbufAnimation *anim; /**< The original animation, before any scaling. */ - GdkPixbufAnimationIter *iter; - guint timer; -}; - -struct _GtkIMHtmlHr { - GtkIMHtmlScalable scalable; - GtkWidget *sep; -}; - typedef enum { GTK_IMHTML_NO_COLOURS = 1 << 0, GTK_IMHTML_NO_FONTS = 1 << 1,