[vala] gtk+-2.0/3.0: Make event nullable for CellRenderer.start_editing()



commit ab887c30b68badde77dbcfae90d4503bb21a5ae5
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Sep 14 18:24:16 2016 +0200

    gtk+-2.0/3.0: Make event nullable for CellRenderer.start_editing()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764493

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 140a35d..4ace8c7 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -860,7 +860,7 @@ namespace Gtk {
                public void set_padding (int xpad, int ypad);
                public void set_sensitive (bool sensitive);
                public void set_visible (bool visible);
-               public virtual unowned Gtk.CellEditable start_editing (Gdk.Event event, Gtk.Widget widget, 
string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
+               public virtual unowned Gtk.CellEditable? start_editing (Gdk.Event? event, Gtk.Widget widget, 
string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
                public void stop_editing (bool canceled);
                [NoAccessorMethod]
                public string cell_background { set; }
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 640b836..16a1802 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1062,7 +1062,7 @@ namespace Gtk {
                public void set_padding (int xpad, int ypad);
                public void set_sensitive (bool sensitive);
                public void set_visible (bool visible);
-               public virtual unowned Gtk.CellEditable? start_editing (Gdk.Event event, Gtk.Widget widget, 
string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
+               public virtual unowned Gtk.CellEditable? start_editing (Gdk.Event? event, Gtk.Widget widget, 
string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
                public void stop_editing (bool canceled);
                [NoAccessorMethod]
                public string cell_background { set; }
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 20f52bc..0805e1a 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -138,6 +138,8 @@ gtk_cell_renderer_get_size.y_offset is_out="1"
 gtk_cell_renderer_get_size.width is_out="1"
 gtk_cell_renderer_get_size.height is_out="1"
 gtk_cell_renderer_render abstract="1"
+gtk_cell_renderer_start_editing nullable="1"
+gtk_cell_renderer_start_editing.event nullable="1"
 GtkCellRenderer abstract="1"
 GtkCellRenderer::editing_canceled has_emitter="1"
 gtk_cell_view_get_displayed_row transfer_ownership="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index cb50d92..b9d4fe7 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -264,6 +264,7 @@ gtk_cell_renderer_get_size.width is_out="1"
 gtk_cell_renderer_get_size.height is_out="1"
 gtk_cell_renderer_render abstract="1"
 gtk_cell_renderer_start_editing nullable="1"
+gtk_cell_renderer_start_editing.event nullable="1"
 GtkCellRenderer::editing_canceled has_emitter="1"
 GtkCellRendererText:background-gdk deprecated_since="3.4" replacement="background_rgba"
 GtkCellRendererText:foreground-gdk deprecated_since="3.4" replacement="foreground_rgba"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]