Re: Gtk2::TreeSelection::get_mode() - patch
- From: Goran Thyni <goran kirra net>
- To: Gtk+ Perl <gtk-perl-list gnome org>
- Subject: Re: Gtk2::TreeSelection::get_mode() - patch
- Date: Mon, 28 Oct 2002 19:33:08 +0100
added to CVS.
diff -c is a good format.
putting patches on the project page is
best so thing don't get lost.
On Mon, Oct 28, 2002 at 01:47:49PM +0100, Christian Borup wrote:
Hi all
I needed the $selection->get_mode().
This much I could handle without digging for the Inline docs.
Is diff -c the prefered format here?
./borup
? Gtk2/include/.gtk2-perl-helpers-gtk-autogen.h.swp
Index: Gtk2/src/TreeSelection.c
===================================================================
RCS file: /cvsroot/gtk2-perl/gtk2-perl/Gtk2/src/TreeSelection.c,v
retrieving revision 1.1
diff -c -r1.1 TreeSelection.c
*** Gtk2/src/TreeSelection.c 27 Oct 2002 21:34:12 -0000 1.1
--- Gtk2/src/TreeSelection.c 28 Oct 2002 12:43:54 -0000
***************
*** 11,16 ****
--- 11,21 ----
gtk_tree_selection_set_mode(SvGtkTreeSelection(selection), SvGtkSelectionMode(type));
}
+ SV* gtkperl_tree_selection_get_mode(SV *selection)
+ {
+ return newSVGtkSelectionMode(gtk_tree_selection_get_mode(SvGtkTreeSelection(selection)));
+ }
+
SV* gtkperl_tree_selection_get_tree_view(SV *selection)
{
return gtk2_perl_new_object(gtk_tree_selection_get_tree_view(SvGtkTreeSelection(selection)));
***************
*** 19,25 ****
/*
Unimplemented
- GtkSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection);
void gtk_tree_selection_set_select_function (GtkTreeSelection *selection,
GtkTreeSelectionFunc func,
gpointer data,
--- 24,29 ----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]