[gir-repository] Bug #628531: Fix static after non-static declarations in gdk-pixbuf
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gir-repository] Bug #628531: Fix static after non-static declarations in gdk-pixbuf
- Date: Thu, 7 Oct 2010 23:59:24 +0000 (UTC)
commit ee77554477dee7f6dec01d5fcd3e53d3dffd8709
Author: dtrebbien <dtrebbien gmail com>
Date: Fri Oct 8 00:59:07 2010 +0100
Bug #628531: Fix static after non-static declarations in gdk-pixbuf
gir/GdkPixbuf-2.0.xpath | 1 -
gir/GdkPixbuf-custom.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gir/GdkPixbuf-2.0.xpath b/gir/GdkPixbuf-2.0.xpath
index 73ecf67..630aa04 100644
--- a/gir/GdkPixbuf-2.0.xpath
+++ b/gir/GdkPixbuf-2.0.xpath
@@ -3,4 +3,3 @@
/namespace/class[ name='PixbufAnimation']/method[ name='get_width']/return-value/type[ name='int']
/namespace/class[ name='PixbufAnimation']/method[ name='get_static_image']/return-value/type[ name='Pixbuf']
/namespace/class[ name='PixbufAnimation']/method[ name='get_iter']/parameters/parameter[ name='start_time']/type[ name='GLib.TimeVal']
-
diff --git a/gir/GdkPixbuf-custom.c b/gir/GdkPixbuf-custom.c
index f67ff04..2564ee0 100644
--- a/gir/GdkPixbuf-custom.c
+++ b/gir/GdkPixbuf-custom.c
@@ -5,7 +5,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#undef GDK_PIXBUF_ENABLE_BACKEND
-static GdkPixbufFormat*
+GdkPixbufFormat*
gdk_pixbuf_format_copy (const GdkPixbufFormat *format)
{
GdkPixbufFormat *new_format;
@@ -17,7 +17,7 @@ gdk_pixbuf_format_copy (const GdkPixbufFormat *format)
return new_format;
}
-static void
+void
gdk_pixbuf_format_free (GdkPixbufFormat *format)
{
g_return_if_fail (format != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]