X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgresourcefile.c;h=380095c468268f64cef0527166d0d657f7f7255a;hb=25990eb2b6da94e1d03631eab8a952ef84cb9986;hp=82fe32fdd85173f958b9ce39fb62730fb704b7ea;hpb=b38f1c7aff0bb7388993973f4d8516b95ad593ba;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/gresourcefile.c b/gio/gresourcefile.c
index 82fe32f..380095c 100644
--- a/gio/gresourcefile.c
+++ b/gio/gresourcefile.c
@@ -13,9 +13,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see .
*
* Author: Alexander Larsson
*/
@@ -72,6 +70,8 @@ static void g_resource_file_file_iface_init (GFileIface *iface);
static GFileAttributeInfoList *resource_writable_attributes = NULL;
static GFileAttributeInfoList *resource_writable_namespaces = NULL;
+static GType _g_resource_file_enumerator_get_type (void);
+
#define G_TYPE_RESOURCE_FILE_ENUMERATOR (_g_resource_file_enumerator_get_type ())
#define G_RESOURCE_FILE_ENUMERATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_RESOURCE_FILE_ENUMERATOR, GResourceFileEnumerator))
#define G_RESOURCE_FILE_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_RESOURCE_FILE_ENUMERATOR, GResourceFileEnumeratorClass))
@@ -828,9 +828,9 @@ g_resource_file_input_stream_close (GInputStream *stream,
static goffset
g_resource_file_input_stream_tell (GFileInputStream *stream)
{
- GResourceFileInputStream *file = G_RESOURCE_FILE_INPUT_STREAM (stream);;
+ GResourceFileInputStream *file = G_RESOURCE_FILE_INPUT_STREAM (stream);
- if (!G_IS_SEEKABLE (file->stream));
+ if (!G_IS_SEEKABLE (file->stream))
return 0;
return g_seekable_tell (G_SEEKABLE (file->stream));