diff pidgin/gtkimhtml.c @ 32473:3340d322c8f8

Make another gtkimhtml function private. I'm definitely hoping we can get rid of all this code and switch to webkit for 3.0.0. I haven't tried the branch.
author Mark Doliner <mark@kingant.net>
date Thu, 01 Sep 2011 07:32:09 +0000
parents 2f014dbda8a6
children 02a2e8183b1d
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Thu Sep 01 07:27:16 2011 +0000
+++ b/pidgin/gtkimhtml.c	Thu Sep 01 07:32:09 2011 +0000
@@ -3903,8 +3903,16 @@
 	g_object_set_data_full(G_OBJECT(box), "image-save-data", save, (GDestroyNotify)g_free);
 }
 
-/* GtkIMHtmlScalable, gtk_imhtml_image, gtk_imhtml_hr */
-GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename, int id)
+/**
+ * Creates and returns a new GTK+ IM/HTML scalable object with an image.
+ *
+ * @param img      A GdkPixbuf of the image to add.
+ * @param filename The filename to associate with the image.
+ * @param id       The id to associate with the image.
+ *
+ * @return A new IM/HTML Scalable object with an image.
+ */
+static GtkIMHtmlScalable *gtk_imhtml_image_new(GdkPixbuf *img, const gchar *filename, int id)
 {
 	GtkIMHtmlImage *im_image = g_malloc(sizeof(GtkIMHtmlImage));