[gtkmm] Gdk::Pixbuf: Implement Gio::LoadableIcon
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk::Pixbuf: Implement Gio::LoadableIcon
- Date: Wed, 26 Jul 2017 11:38:46 +0000 (UTC)
commit 8d0660ed3f25c151e451f4bf44f0f4e1c1afed1f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Jul 26 13:18:31 2017 +0200
Gdk::Pixbuf: Implement Gio::LoadableIcon
GdkPixbuf implements GLoadableIcon.
gdk/src/pixbuf.hg | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/src/pixbuf.hg b/gdk/src/pixbuf.hg
index 2f0a296..8afbaa7 100644
--- a/gdk/src/pixbuf.hg
+++ b/gdk/src/pixbuf.hg
@@ -25,6 +25,7 @@ _CONFIGINCLUDE(gdkmmconfig.h)
#include <gdkmm/types.h>
#include <giomm/inputstream.h>
#include <giomm/icon.h>
+#include <giomm/loadableicon.h>
#include <cairomm/surface.h>
#include <glibmm/error.h>
@@ -49,10 +50,12 @@ _WRAP_GERROR(PixbufError,GdkPixbufError,GDK_PIXBUF_ERROR)
class Pixbuf
: public Glib::Object,
- public Gio::Icon
+ public Gio::Icon,
+ public Gio::LoadableIcon
{
_CLASS_GOBJECT(Pixbuf, GdkPixbuf, GDK_PIXBUF, Glib::Object, GObject)
_IMPLEMENTS_INTERFACE(Gio::Icon)
+ _IMPLEMENTS_INTERFACE(Gio::LoadableIcon)
_IGNORE(gdk_pixbuf_ref, gdk_pixbuf_unref, gdk_pixbuf_non_anim_new)
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]