~ubuntu-branches/ubuntu/saucy/glib2.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gio/gfileinputstream.c

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-06-25 12:43:56 UTC
  • mfrom: (1.63.22)
  • Revision ID: package-import@ubuntu.com-20130625124356-597xf4lpikauchiy
Tags: 2.37.3-1ubuntu1
* Resynchronise on unrelease Debian SVN (glib is in NEW there). Remaining
  change:
  - Build-Depend on python:any for cross building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                                                              GError              **error);
74
74
 
75
75
 
 
76
struct _GFileInputStreamPrivate {
 
77
  GAsyncReadyCallback outstanding_callback;
 
78
};
 
79
 
76
80
G_DEFINE_TYPE_WITH_CODE (GFileInputStream, g_file_input_stream, G_TYPE_INPUT_STREAM,
 
81
                         G_ADD_PRIVATE (GFileInputStream)
77
82
                         G_IMPLEMENT_INTERFACE (G_TYPE_SEEKABLE,
78
83
                                                g_file_input_stream_seekable_iface_init))
79
84
 
80
 
struct _GFileInputStreamPrivate {
81
 
  GAsyncReadyCallback outstanding_callback;
82
 
};
83
 
 
84
85
static void
85
86
g_file_input_stream_class_init (GFileInputStreamClass *klass)
86
87
{
87
 
  g_type_class_add_private (klass, sizeof (GFileInputStreamPrivate));
88
 
 
89
88
  klass->query_info_async = g_file_input_stream_real_query_info_async;
90
89
  klass->query_info_finish = g_file_input_stream_real_query_info_finish;
91
90
}
103
102
static void
104
103
g_file_input_stream_init (GFileInputStream *stream)
105
104
{
106
 
  stream->priv = G_TYPE_INSTANCE_GET_PRIVATE (stream,
107
 
                                              G_TYPE_FILE_INPUT_STREAM,
108
 
                                              GFileInputStreamPrivate);
 
105
  stream->priv = g_file_input_stream_get_instance_private (stream);
109
106
}
110
107
 
111
108
/**