[gtk+] Reserve space for a pointer in GtkDrawingArea
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Reserve space for a pointer in GtkDrawingArea
- Date: Thu, 23 Dec 2010 18:02:28 +0000 (UTC)
commit 96d1c2c46e47b9ecb2704e07786912115691263d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 23 13:01:21 2010 -0500
Reserve space for a pointer in GtkDrawingArea
It was pointed out that this will let us add a private pointer
without abi break in the future, should we ever need one.
gtk/gtkdrawingarea.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkdrawingarea.h b/gtk/gtkdrawingarea.h
index 553b9be..c40bc93 100644
--- a/gtk/gtkdrawingarea.h
+++ b/gtk/gtkdrawingarea.h
@@ -51,6 +51,9 @@ typedef struct _GtkDrawingAreaClass GtkDrawingAreaClass;
struct _GtkDrawingArea
{
GtkWidget widget;
+
+ /*< private >*/
+ gpointer dummy;
};
struct _GtkDrawingAreaClass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]