summaryrefslogtreecommitdiffstats
path: root/src/spice-channel.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't wrap included headers in G_BEGIN|END_DECLSJonathon Jongsma2015-10-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Only the local declarations should be declared extern "C", otherwise it can result in unexpected errors such as this (encountered while re-ordering some include statements for a different patch): CC channel-inputs.lo In file included from /usr/include/glib-2.0/glib/gmacros.h:38:0, from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../../src/spice-channel.h:27, from ../../src/channel-inputs.h:25, from ../../src/channel-inputs.c:20: /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/stddef.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' typedef __PTRDIFF_TYPE__ ptrdiff_t; ^
* Glib applications should only include spice-client.hJonathon Jongsma2015-10-091-0/+4
| | | | | Generate a compiler warning if an application attempts to include a different header.
* docs: Add missing symbol description stringsPavel Grunt2015-09-251-0/+13
|
* docs: Add missing parameter/field descriptionsPavel Grunt2015-09-251-0/+1
|
* channel: use class private handlers fieldMarc-André Lureau2015-06-081-1/+3
| | | | | | | | | Since spice-gtk requires glib 2.28, we can now fix a small FIXME. Since G_TYPE_CLASS_GET_PRIVATE is a bit expensive, it's still worth to cache it in klass->priv. However, there is no good place I can think of to put this. (channel_class_init() is called only once, and not per each subclass)
* Move gtk/ -> src/Marc-André Lureau2015-06-081-0/+131
For historical reasons, the code was placed under gtk/ subdirectory. If it was always bugging you, bug no more!