[gnome-games] libgames-support: Merge games-preimage-private.h into games-preimage.c
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames-support: Merge games-preimage-private.h into games-preimage.c
- Date: Sun, 1 Jan 2012 04:14:32 +0000 (UTC)
commit c98afbf01ec134dc2ede44699666845c35c1b88f
Author: Robert Ancell <robert ancell canonical com>
Date: Sun Jan 1 15:14:11 2012 +1100
libgames-support: Merge games-preimage-private.h into games-preimage.c
libgames-support/Makefile.am | 3 +-
libgames-support/games-preimage-private.h | 40 -----------------------------
libgames-support/games-preimage.c | 18 ++++++++++++-
3 files changed, 18 insertions(+), 43 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 32a6664..0d88527 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -22,8 +22,7 @@ libgames_support_la_SOURCES += \
games-clock.c \
games-clock.h \
games-preimage.c \
- games-preimage.h \
- games-preimage-private.h
+ games-preimage.h
if HAVE_GIO_2_26
libgames_support_la_SOURCES += \
diff --git a/libgames-support/games-preimage.c b/libgames-support/games-preimage.c
index f754d3b..5b2a046 100644
--- a/libgames-support/games-preimage.c
+++ b/libgames-support/games-preimage.c
@@ -37,7 +37,23 @@
#include "games-preimage.h"
-#include "games-preimage-private.h"
+
+struct _GamesPreimage {
+ GObject parent;
+
+ gint width;
+ gint height;
+
+#ifdef HAVE_RSVG
+ RsvgHandle *rsvg_handle;
+ cairo_font_options_t *font_options;
+#endif
+
+ /* raster pixbuf data */
+ GdkPixbuf *pixbuf;
+
+ guint scalable : 1;
+};
G_DEFINE_TYPE (GamesPreimage, games_preimage, G_TYPE_OBJECT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]