From: Evan Nemerson Date: Sun, 12 Feb 2012 22:01:22 +0000 (-0800) Subject: gtk+-3.0: update to 3.3.15 X-Git-Tag: 0.15.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834b232854c95c930465b0c0017b3f2555284378;p=thirdparty%2Fvala.git gtk+-3.0: update to 3.3.15 --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 807d86397..bbbeaec96 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -226,6 +226,7 @@ namespace Gtk { public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public AboutDialog (); + public void add_credit_section (string section_name, string people); public unowned string get_artists (); public unowned string get_authors (); public unowned string get_comments (); @@ -570,15 +571,22 @@ namespace Gtk { public Application (string application_id, GLib.ApplicationFlags flags); public void add_accelerator (string accelerator, string action_name, GLib.Variant parameter); public void add_window (Gtk.Window window); + public bool end_session (Gtk.ApplicationEndSessionStyle style, bool request_confirmation); public unowned GLib.MenuModel get_app_menu (); public unowned GLib.MenuModel get_menubar (); public unowned GLib.List get_windows (); + public uint inhibit (Gtk.Window window, Gtk.ApplicationInhibitFlags flags, string reason); + public bool is_inhibited (Gtk.ApplicationInhibitFlags flags); public void remove_accelerator (string action_name, GLib.Variant parameter); public void remove_window (Gtk.Window window); public void set_app_menu (GLib.MenuModel app_menu); public void set_menubar (GLib.MenuModel menubar); + public void uninhibit (uint cookie); public GLib.MenuModel app_menu { get; set; } public GLib.MenuModel menubar { get; set; } + [NoAccessorMethod] + public bool register_session { get; set; } + public virtual signal void quit (); public virtual signal void window_added (Gtk.Window window); public virtual signal void window_removed (Gtk.Window window); } @@ -717,8 +725,10 @@ namespace Gtk { [CCode (has_construct_function = false)] public Builder (); public uint add_from_file (string filename) throws GLib.Error; + public uint add_from_resource (string resource_path) throws GLib.Error; public uint add_from_string (string buffer, size_t length) throws GLib.Error; public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_resource (string resource_path, string object_ids) throws GLib.Error; public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; public void connect_signals (void* user_data); public void connect_signals_full (Gtk.BuilderConnectFunc func); @@ -1949,7 +1959,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FontChooser { [CCode (has_construct_function = false, type = "GtkWidget*")] - public FontChooserDialog (string title, Gtk.Window window); + public FontChooserDialog (string title, Gtk.Window parent); } [CCode (cheader_filename = "gtk/gtk.h")] public class FontChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FontChooser { @@ -2018,6 +2028,7 @@ namespace Gtk { [CCode (has_construct_function = false)] public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1); public bool resolve (Gtk.StyleProperties props, out unowned Cairo.Pattern resolved_gradient); + public unowned Cairo.Pattern resolve_for_context (Gtk.StyleContext context); public unowned string to_string (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2343,6 +2354,8 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public Image.from_pixbuf (Gdk.Pixbuf pixbuf); [CCode (has_construct_function = false, type = "GtkWidget*")] + public Image.from_resource (string resource_path); + [CCode (has_construct_function = false, type = "GtkWidget*")] public Image.from_stock (string stock_id, Gtk.IconSize size); public unowned Gdk.PixbufAnimation get_animation (); public void get_gicon (out unowned GLib.Icon gicon, Gtk.IconSize size); @@ -2358,6 +2371,7 @@ namespace Gtk { public void set_from_icon_name (string icon_name, Gtk.IconSize size); public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size); public void set_from_pixbuf (Gdk.Pixbuf pixbuf); + public void set_from_resource (string resource_path); public void set_from_stock (string stock_id, Gtk.IconSize size); public void set_pixel_size (int pixel_size); [NoAccessorMethod] @@ -4073,9 +4087,11 @@ namespace Gtk { public Gtk.JunctionSides get_junction_sides (); public Gtk.Border get_margin (Gtk.StateFlags state); public Gtk.Border get_padding (Gtk.StateFlags state); + public unowned Gtk.StyleContext get_parent (); public unowned Gtk.WidgetPath get_path (); public void get_property (string property, Gtk.StateFlags state, GLib.Value value); public unowned Gdk.Screen get_screen (); + public unowned Gtk.CssSection get_section (string property); public Gtk.StateFlags get_state (); public void get_style (...); public void get_style_property (string property_name, GLib.Value value); @@ -4134,11 +4150,13 @@ namespace Gtk { public void set_background (Gdk.Window window); public void set_direction (Gtk.TextDirection direction); public void set_junction_sides (Gtk.JunctionSides sides); + public void set_parent (Gtk.StyleContext parent); public void set_path (Gtk.WidgetPath path); public void set_screen (Gdk.Screen screen); public void set_state (Gtk.StateFlags flags); public bool state_is_running (Gtk.StateType state, double progress); public Gtk.TextDirection direction { get; set; } + public Gtk.StyleContext parent { get; set; } public Gdk.Screen screen { get; set; } public virtual signal void changed (); } @@ -5308,6 +5326,7 @@ namespace Gtk { public UIManager (); public void add_ui (uint merge_id, string path, string name, string? action, Gtk.UIManagerItemType type, bool top); public uint add_ui_from_file (string filename) throws GLib.Error; + public uint add_ui_from_resource (string resource_path) throws GLib.Error; public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error; public void ensure_update (); public unowned Gtk.AccelGroup get_accel_group (); @@ -5778,6 +5797,7 @@ namespace Gtk { public void fullscreen (); public bool get_accept_focus (); public unowned Gtk.Application get_application (); + public unowned Gtk.Widget get_attached_to (); public bool get_decorated (); public static GLib.List get_default_icon_list (); public static unowned string get_default_icon_name (); @@ -5830,6 +5850,7 @@ namespace Gtk { public void resize_to_geometry (int width, int height); public void set_accept_focus (bool setting); public void set_application (Gtk.Application application); + public void set_attached_to (Gtk.Widget attach_widget); public static void set_auto_startup_notification (bool setting); public void set_decorated (bool setting); public void set_default (Gtk.Widget default_widget); @@ -5876,6 +5897,7 @@ namespace Gtk { public void unstick (); public bool accept_focus { get; set; } public Gtk.Application application { get; set; } + public Gtk.Widget attached_to { get; set construct; } public bool decorated { get; set; } [NoAccessorMethod] public int default_height { get; set; } @@ -6517,6 +6539,20 @@ namespace Gtk { END, CENTER } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_")] + public enum ApplicationEndSessionStyle { + LOGOUT, + REBOOT, + SHUTDOWN + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_")] + [Flags] + public enum ApplicationInhibitFlags { + LOGOUT, + SWITCH, + SUSPEND, + IDLE + } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ARROWS_")] public enum ArrowPlacement { BOTH, @@ -6552,7 +6588,13 @@ namespace Gtk { NONE, SOLID, INSET, - OUTSET + OUTSET, + HIDDEN, + DOTTED, + DASHED, + DOUBLE, + GROOVE, + RIDGE } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONBOX_")] public enum ButtonBoxStyle { @@ -7194,7 +7236,7 @@ namespace Gtk { INSENSITIVE, INCONSISTENT, FOCUSED, - WINDOW_UNFOCUSED + BACKDROP } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_")] public enum StateType { diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi index 046eb8cb8..612b7ab45 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi @@ -2426,6 +2426,13 @@ + + + + + + + @@ -4522,6 +4529,11 @@ + + + + + @@ -4547,6 +4559,12 @@ + + + + + + @@ -5098,6 +5116,12 @@ + + + + + + @@ -5198,7 +5222,7 @@ - + @@ -5237,6 +5261,14 @@ + + + + + + + + @@ -6761,6 +6793,14 @@ + + + + + + + + @@ -6779,6 +6819,22 @@ + + + + + + + + + + + + + + + + @@ -6815,8 +6871,22 @@ + + + + + + + + + + + + + + @@ -7237,6 +7307,14 @@ + + + + + + + + @@ -7255,6 +7333,15 @@ + + + + + + + + + @@ -10555,6 +10642,7 @@ + @@ -12173,7 +12261,7 @@ - + @@ -13793,6 +13881,12 @@ + + + + + + @@ -13845,6 +13939,13 @@ + + + + + + + @@ -18769,6 +18870,7 @@ + @@ -20188,6 +20290,12 @@ + + + + + + @@ -20209,6 +20317,13 @@ + + + + + + + @@ -20394,6 +20509,13 @@ + + + + + + + @@ -20424,6 +20546,7 @@ + @@ -20435,6 +20558,7 @@ + @@ -25319,6 +25443,14 @@ + + + + + + + + @@ -27762,6 +27894,12 @@ + + + + + + @@ -28106,6 +28244,13 @@ + + + + + + + @@ -28421,6 +28566,7 @@ + @@ -30918,12 +31064,12 @@ - + - + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index e5b835f0a..4ec71447a 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -651,6 +651,7 @@ gtk_style_context_has_region.flags_return is_out="1" gtk_style_lookup_color.color is_out="1" gtk_style_get_style_property.value is_out="1" gtk_style_properties_register_property.parse_func nullable="1" +GtkStyleProviderPrivate hidden="1" GtkTable:row-spacing accessor_method="0" GtkTargetEntry is_value_type="1" GtkTargetList.list type_arguments="TargetPair"