diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-09-19 21:00:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-09-19 21:00:52 +0000 |
commit | 3457b1331ef85a8b1868e60543ef491e9e1c7740 (patch) | |
tree | 6f699ed6e50985c250f4484bff20eb93f603327a | |
parent | de05395db28c67421702b0e4b2897de4cb41234f (diff) | |
download | gdk-pixbuf-3457b1331ef85a8b1868e60543ef491e9e1c7740.tar.gz |
Remove the _-prefix from gdk_pixbuf_set_option and
gdk_pixbuf_non_anim_new again.
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-animation.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-private.h | 4 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/io-ani.c | 8 | ||||
-rw-r--r-- | gdk-pixbuf/io-ico.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/io-png.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/io-xbm.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/io-xpm.c | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c index a492c90a8..4185eba91 100644 --- a/gdk-pixbuf/gdk-pixbuf-animation.c +++ b/gdk-pixbuf/gdk-pixbuf-animation.c @@ -199,7 +199,7 @@ gdk_pixbuf_animation_new_from_file (const char *filename, if (pixbuf == NULL) return NULL; - animation = _gdk_pixbuf_non_anim_new (pixbuf); + animation = gdk_pixbuf_non_anim_new (pixbuf); g_object_unref (pixbuf); } else { @@ -613,7 +613,7 @@ gdk_pixbuf_non_anim_finalize (GObject *object) } GdkPixbufAnimation* -_gdk_pixbuf_non_anim_new (GdkPixbuf *pixbuf) +gdk_pixbuf_non_anim_new (GdkPixbuf *pixbuf) { GdkPixbufNonAnim *non_anim; diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index 78c8d83ca..bcb7382e3 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -257,7 +257,7 @@ gdk_pixbuf_loader_prepare (GdkPixbuf *pixbuf, if (anim) g_object_ref (anim); else - anim = _gdk_pixbuf_non_anim_new (pixbuf); + anim = gdk_pixbuf_non_anim_new (pixbuf); priv->animation = anim; @@ -627,7 +627,7 @@ gdk_pixbuf_loader_close (GdkPixbufLoader *loader, g_object_ref (tmp); pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, tmp->has_alpha, 8, priv->width, priv->height); g_object_unref (priv->animation); - priv->animation = _gdk_pixbuf_non_anim_new (pixbuf); + priv->animation = gdk_pixbuf_non_anim_new (pixbuf); g_signal_emit (loader, pixbuf_loader_signals[AREA_PREPARED], 0); gdk_pixbuf_scale (tmp, pixbuf, 0, 0, priv->width, priv->height, 0, 0, (double) priv->width / tmp->width, diff --git a/gdk-pixbuf/gdk-pixbuf-private.h b/gdk-pixbuf/gdk-pixbuf-private.h index d75ff2382..db13af805 100644 --- a/gdk-pixbuf/gdk-pixbuf-private.h +++ b/gdk-pixbuf/gdk-pixbuf-private.h @@ -129,13 +129,13 @@ struct _GdkPixbufAnimationIterClass { }; -GdkPixbufAnimation* _gdk_pixbuf_non_anim_new (GdkPixbuf *pixbuf); +GdkPixbufAnimation* gdk_pixbuf_non_anim_new (GdkPixbuf *pixbuf); /* key/value pairs that can be attached by the pixbuf loader */ -gboolean _gdk_pixbuf_set_option (GdkPixbuf *pixbuf, +gboolean gdk_pixbuf_set_option (GdkPixbuf *pixbuf, const gchar *key, const gchar *value); diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c index d286aa348..43d93133c 100644 --- a/gdk-pixbuf/gdk-pixbuf.c +++ b/gdk-pixbuf/gdk-pixbuf.c @@ -525,7 +525,7 @@ gdk_pixbuf_get_option (GdkPixbuf *pixbuf, } /** - * _gdk_pixbuf_set_option: + * gdk_pixbuf_set_option: * @pixbuf: a #GdkPixbuf * @key: a nul-terminated string. * @value: a nul-terminated string. @@ -537,7 +537,7 @@ gdk_pixbuf_get_option (GdkPixbuf *pixbuf, * Return value: %TRUE on success. **/ gboolean -_gdk_pixbuf_set_option (GdkPixbuf *pixbuf, +gdk_pixbuf_set_option (GdkPixbuf *pixbuf, const gchar *key, const gchar *value) { diff --git a/gdk-pixbuf/io-ani.c b/gdk-pixbuf/io-ani.c index 4ff22bdf7..cc4790137 100644 --- a/gdk-pixbuf/io-ani.c +++ b/gdk-pixbuf/io-ani.c @@ -154,10 +154,10 @@ prepared_callback (GdkPixbufLoader *loader, context->animation->height = gdk_pixbuf_get_height (pixbuf); if (context->title != NULL) - _gdk_pixbuf_set_option (pixbuf, "Title", context->title); + gdk_pixbuf_set_option (pixbuf, "Title", context->title); if (context->author != NULL) - _gdk_pixbuf_set_option (pixbuf, "Author", context->author); + gdk_pixbuf_set_option (pixbuf, "Author", context->author); g_object_ref (pixbuf); context->animation->pixbufs[context->pos] = pixbuf; @@ -447,7 +447,7 @@ ani_load_chunk (AniLoaderContext *context, GError **error) g_print ("INAM %s\n", context->title); #endif for (i = 0; i < context->pos; i++) - _gdk_pixbuf_set_option (context->animation->pixbufs[i], "Title", context->title); + gdk_pixbuf_set_option (context->animation->pixbufs[i], "Title", context->title); } else if (context->chunk_id == TAG_IART) { @@ -466,7 +466,7 @@ ani_load_chunk (AniLoaderContext *context, GError **error) g_print ("IART %s\n", context->author); #endif for (i = 0; i < context->pos; i++) - _gdk_pixbuf_set_option (context->animation->pixbufs[i], "Author", context->author); + gdk_pixbuf_set_option (context->animation->pixbufs[i], "Author", context->author); } #ifdef DEBUG_ANI diff --git a/gdk-pixbuf/io-ico.c b/gdk-pixbuf/io-ico.c index fc456ab48..cb291dd13 100644 --- a/gdk-pixbuf/io-ico.c +++ b/gdk-pixbuf/io-ico.c @@ -420,9 +420,9 @@ static void DecodeHeader(guchar *Data, gint Bytes, if (State->cursor) { gchar hot[10]; g_snprintf (hot, 10, "%d", State->x_hot); - _gdk_pixbuf_set_option (State->pixbuf, "x_hot", hot); + gdk_pixbuf_set_option (State->pixbuf, "x_hot", hot); g_snprintf (hot, 10, "%d", State->y_hot); - _gdk_pixbuf_set_option (State->pixbuf, "y_hot", hot); + gdk_pixbuf_set_option (State->pixbuf, "y_hot", hot); } if (State->prepared_func != NULL) diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c index a00e8a677..3b2317efd 100644 --- a/gdk-pixbuf/io-png.c +++ b/gdk-pixbuf/io-png.c @@ -317,7 +317,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error) if (png_get_text (png_ptr, info_ptr, &text_ptr, &num_texts)) { for (i = 0; i < num_texts; i++) { png_text_to_pixbuf_option (text_ptr[i], &key, &value); - _gdk_pixbuf_set_option (pixbuf, key, value); + gdk_pixbuf_set_option (pixbuf, key, value); g_free (key); g_free (value); } @@ -616,7 +616,7 @@ png_info_callback (png_structp png_read_ptr, if (png_text_to_pixbuf_option (png_text_ptr[i], &key, &value)) { - _gdk_pixbuf_set_option (lc->pixbuf, key, value); + gdk_pixbuf_set_option (lc->pixbuf, key, value); g_free (key); g_free (value); } diff --git a/gdk-pixbuf/io-xbm.c b/gdk-pixbuf/io-xbm.c index 938951670..0ec63755b 100644 --- a/gdk-pixbuf/io-xbm.c +++ b/gdk-pixbuf/io-xbm.c @@ -298,9 +298,9 @@ gdk_pixbuf__xbm_image_load_real (FILE *f, XBMData *context, GError **error) if (x_hot != -1 && y_hot != -1) { gchar hot[10]; g_snprintf (hot, 10, "%d", x_hot); - _gdk_pixbuf_set_option (pixbuf, "x_hot", hot); + gdk_pixbuf_set_option (pixbuf, "x_hot", hot); g_snprintf (hot, 10, "%d", y_hot); - _gdk_pixbuf_set_option (pixbuf, "y_hot", hot); + gdk_pixbuf_set_option (pixbuf, "y_hot", hot); } pixels = gdk_pixbuf_get_pixels (pixbuf); diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c index c28192d91..fff93f91c 100644 --- a/gdk-pixbuf/io-xpm.c +++ b/gdk-pixbuf/io-xpm.c @@ -1358,9 +1358,9 @@ pixbuf_create_from_xpm (const gchar * (*get_buf) (enum buf_op op, gpointer handl if (items == 6) { gchar hot[10]; g_snprintf (hot, 10, "%d", x_hot); - _gdk_pixbuf_set_option (pixbuf, "x_hot", hot); + gdk_pixbuf_set_option (pixbuf, "x_hot", hot); g_snprintf (hot, 10, "%d", y_hot); - _gdk_pixbuf_set_option (pixbuf, "y_hot", hot); + gdk_pixbuf_set_option (pixbuf, "y_hot", hot); } |