com gtk/php-gtk: - Require ATK 1.9.0. - Add AtkRelationSet: :add_relation_by_type().: TODO2 ext/gtk+/ atk.defs ext/gtk+/config.m4
| From: | David Soria Parra | Date: | Sun, 02 Oct 2005 02:52:32 +0000 |
| Subject: | com gtk/php-gtk: - Require ATK 1.9.0. - Add AtkRelationSet: :add_relation_by_type().: TODO2 ext/gtk+/ atk.defs ext/gtk+/config.m4 | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-4789@lists.php.net to get a copy of this message | ||
Commit: ac26fb95259f84cb4596c7f73fe9a0fa6a637c84
Author: Andrei Zmievski <andrei@php.net> Sun, 2 Oct 2005 02:52:32 +0000
Parents: f4cc3f55287c610f0d7f8a3f3f2d8c10abb324e0
Branches: master
Link: http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=ac26fb95259f84cb4596c7f73fe9a0fa6a637c84
Log:
- Require ATK 1.9.0.
- Add AtkRelationSet::add_relation_by_type().
Changed paths:
M TODO2
M ext/gtk+/atk.defs
M ext/gtk+/config.m4
Diff:
ac26fb95259f84cb4596c7f73fe9a0fa6a637c84
diff --git a/TODO2 b/TODO2
index c41304e..beac1b2 100644
--- a/TODO2
+++ b/TODO2
@@ -10,7 +10,6 @@ Base Functionality
~~~~~~~~~~~~~~~~~~
* Some classes need to be coded in C entirely, see gtk-types.c
* Interfaces
-* Pointers
* Atoms
* Implement __gtype, __doc, and other special properties, if possible
* Deal with clone() handler in Zend
@@ -33,7 +32,6 @@ Classes and Functions
* GtkClipboard
- GtkNotebook->append_page should allow just a string as second parameter (title for page)
instead of only wanting a gtklabel or so
- GtkNotebook crashes when connecting callback to move-focus-out signal
-- GtkNotebook can't use switch-page signal as GPointer isn't implemented
- GtkNotebook->get_nth_page() crashes
* GtkEntries can't be var_dumped, probably something missing
* GtkTreeModelFilter constructor doesn't take a model / does it have a constructor??
didn't see one in gtk.defs
diff --git a/ext/gtk+/atk.defs b/ext/gtk+/atk.defs
index 50fd412..726869f 100644
--- a/ext/gtk+/atk.defs
+++ b/ext/gtk+/atk.defs
@@ -801,6 +801,15 @@
)
)
+(define-method add_relation_by_type
+ (of-object "AtkRelationSet")
+ (c-name "atk_relation_set_add_relation_by_type")
+ (return-type "none")
+ (parameters
+ '("AtkRelationType" "relationship")
+ '("AtkObject*" "target")
+ )
+)
;; From /usr/include/atk-1.0/atk/atkselection.h
diff --git a/ext/gtk+/config.m4 b/ext/gtk+/config.m4
index 57e331f..311f1a0 100644
--- a/ext/gtk+/config.m4
+++ b/ext/gtk+/config.m4
@@ -4,7 +4,7 @@ dnl config.m4 for gtk+ module
define(glib_required_version, 2.6.0)
define(gtk_required_version, 2.6.0)
define(pango_required_version, 1.8.0)
-define(atk_required_version, 1.8.0)
+define(atk_required_version, 1.9.0)
dnl Check for glib
AM_PATH_GLIB_2_0(glib_required_version,,[AC_MSG_ERROR(PHP-GTK 2.x requires GLib
glib_required_version or higher)],gobject)