diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-18 19:21:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-18 19:21:33 +0100 |
commit | ea84e974e6eb8565554c8514cf18a326e5b256ed (patch) | |
tree | 8275f6c6df004361fa4e535ad2bb12bca4a37086 /gdk/gdksnapshot.c | |
parent | abc9b944f9153b5e770f0127589744c8b3f629c0 (diff) | |
download | gtk+-ea84e974e6eb8565554c8514cf18a326e5b256ed.tar.gz |
snapshot: Turn into GObject
This makes GdkSnapshot the base class for GtkSnapshot and hopefully
stops confusing bindings.
C code should see no difference to before.
Diffstat (limited to 'gdk/gdksnapshot.c')
-rw-r--r-- | gdk/gdksnapshot.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gdk/gdksnapshot.c b/gdk/gdksnapshot.c new file mode 100644 index 0000000000..1589428e5e --- /dev/null +++ b/gdk/gdksnapshot.c @@ -0,0 +1,35 @@ +/* + * Copyright © 2018 Benjamin Otte + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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, see <http://www.gnu.org/licenses/>. + * + * Authors: Benjamin Otte <otte@gnome.org> + */ + +#include "config.h" + +#include "gdksnapshotprivate.h" + +G_DEFINE_ABSTRACT_TYPE (GdkSnapshot, gdk_snapshot, G_TYPE_OBJECT) + +static void +gdk_snapshot_class_init (GdkSnapshotClass *klass) +{ +} + +static void +gdk_snapshot_init (GdkSnapshot *self) +{ +} + |