Hello community,

here is the log from the commit of package libdazzle for openSUSE:Factory 
checked in at 2018-04-19 15:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdazzle (Old)
 and      /work/SRC/openSUSE:Factory/.libdazzle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdazzle"

Thu Apr 19 15:24:48 2018 rev:7 rq:596162 version:3.28.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdazzle/libdazzle.changes      2018-03-14 
19:33:14.997536497 +0100
+++ /work/SRC/openSUSE:Factory/.libdazzle.new/libdazzle.changes 2018-04-19 
15:24:54.210267098 +0200
@@ -1,0 +2,11 @@
+Wed Apr 11 02:46:37 UTC 2018 - [email protected]
+
+- Update to version 3.28.1:
+  + Speciy pkg-config package in gir file.
+  + Add Dazzle.StackList.push() to vala wrapper.
+  + DzlFileChooserEntry will now notify when files change.
+  + Shortcuts now ignore caps-lock when activating shortcuts,
+    to be more like gtk+ itself does.
+  + Transfer ownership fix for registering signals in code.
+
+-------------------------------------------------------------------

Old:
----
  libdazzle-3.28.0.tar.xz

New:
----
  libdazzle-3.28.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdazzle.spec ++++++
--- /var/tmp/diff_new_pack.tOeAUY/_old  2018-04-19 15:24:55.918197825 +0200
+++ /var/tmp/diff_new_pack.tOeAUY/_new  2018-04-19 15:24:55.918197825 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libdazzle
-Version:        3.28.0
+Version:        3.28.1
 Release:        0
 Summary:        Collection of fancy features for GLib and Gtk+
 License:        GPL-3.0-or-later AND LGPL-2.1-or-later

++++++ libdazzle-3.28.0.tar.xz -> libdazzle-3.28.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/NEWS new/libdazzle-3.28.1/NEWS
--- old/libdazzle-3.28.0/NEWS   2018-03-14 01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/NEWS   2018-04-10 05:54:50.000000000 +0200
@@ -1,4 +1,17 @@
 ==============
+Version 3.28.1
+==============
+
+Changes in this release:
+
+ • Speciy pkg-config package in gir file
+ • Add Dazzle.StackList.push() to vala wrapper
+ • DzlFileChooserEntry will now notify when files change
+ • Shortcuts now ignore caps-lock when activating shortcuts, to be
+   more like gtk+ itself does.
+ • transfer ownership fix for registering signals in code
+
+==============
 Version 3.28.0
 ==============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/meson.build 
new/libdazzle-3.28.1/meson.build
--- old/libdazzle-3.28.0/meson.build    2018-03-14 01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/meson.build    2018-04-10 05:54:50.000000000 +0200
@@ -1,5 +1,5 @@
 project('libdazzle', 'c',
-          version: '3.28.0',
+          version: '3.28.1',
           license: 'GPLv3+',
     meson_version: '>= 0.40.1',
   default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 
'c_std=gnu11' ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/src/Dazzle-1.0.metadata 
new/libdazzle-3.28.1/src/Dazzle-1.0.metadata
--- old/libdazzle-3.28.0/src/Dazzle-1.0.metadata        2018-03-14 
01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/Dazzle-1.0.metadata        2018-04-10 
05:54:50.000000000 +0200
@@ -3,3 +3,9 @@
 *.*.cancellable#parameter nullable default=null
 *.*.io_priority default=GLib.Priority.LOW
 
+StackList
+  .push skip=false
+  .push.create_widget_func nullable
+StackListCreateWidgetFunc skip=false
+  .item type="GLib.Object"
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/src/meson.build 
new/libdazzle-3.28.1/src/meson.build
--- old/libdazzle-3.28.0/src/meson.build        2018-03-14 01:29:41.000000000 
+0100
+++ new/libdazzle-3.28.1/src/meson.build        2018-04-10 05:54:50.000000000 
+0200
@@ -115,6 +115,8 @@
   include_directories: include_directories('.'),
 )
 
+libdazzle_package = 'libdazzle-@0@'.format(apiversion)
+
 if get_option('with_introspection')
 
   libdazzle_gir = gnome.generate_gir(libdazzle,
@@ -128,6 +130,7 @@
                 install: true,
         install_dir_gir: girdir,
     install_dir_typelib: typelibdir,
+        export_packages: libdazzle_package,
              extra_args: [ '--c-include=dazzle.h', '--quiet' ],
   )
 
@@ -151,7 +154,7 @@
       subdirs: libdazzle_header_subdir,
       version: meson.project_version(),
          name: 'Dazzle',
-     filebase: 'libdazzle-@0@'.format(apiversion),
+     filebase: libdazzle_package,
   description: 'Razzle Dazzle for Gtk+ 3.x applications',
      requires: 'gtk+-3.0',
   install_dir: join_paths(libdir, 'pkgconfig'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-chord.c 
new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-chord.c
--- old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-chord.c     2018-03-14 
01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-chord.c     2018-04-10 
05:54:50.000000000 +0200
@@ -101,7 +101,8 @@
   self->keys[0].keyval = gdk_keyval_to_lower (key->keyval);
   self->keys[0].modifier = sanitize_modifier_mask (key->state);
 
-  if (self->keys[0].keyval != key->keyval)
+  if ((key->state & GDK_LOCK_MASK) == 0 &&
+      self->keys[0].keyval != key->keyval)
     self->keys[0].modifier |= GDK_SHIFT_MASK;
 
   if (!dzl_shortcut_chord_is_valid (self))
@@ -154,7 +155,8 @@
           self->keys[i].keyval = gdk_keyval_to_lower (key->keyval);
           self->keys[i].modifier = sanitize_modifier_mask (key->state);
 
-          if (self->keys[i].keyval != key->keyval)
+          if ((key->state & GDK_LOCK_MASK) == 0 &&
+              self->keys[i].keyval != key->keyval)
             self->keys[i].modifier |= GDK_SHIFT_MASK;
 
           return TRUE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-context.c 
new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-context.c
--- old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-context.c   2018-03-14 
01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-context.c   2018-04-10 
05:54:50.000000000 +0200
@@ -369,13 +369,11 @@
  * @self: a #DzlShortcutContext
  * @accel: the accelerator for the shortcut
  * @signal_name: the name of the signal
- * @values: (element-type GObject.Value) (nullable) (transfer container): The
+ * @values: (element-type GObject.Value) (nullable) (transfer none): The
  *   values to use when calling the signal.
  *
  * This is similar to dzl_shortcut_context_add_signal() but is easier to use
  * from language bindings.
- *
- * Note that this transfers ownership of the @values array.
  */
 void
 dzl_shortcut_context_add_signalv (DzlShortcutContext *self,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-theme-load.c 
new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-theme-load.c
--- old/libdazzle-3.28.0/src/shortcuts/dzl-shortcut-theme-load.c        
2018-03-14 01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/shortcuts/dzl-shortcut-theme-load.c        
2018-04-10 05:54:50.000000000 +0200
@@ -315,7 +315,7 @@
   LoadStateFrame *signal;
   LoadStateFrame *shortcut;
   LoadStateFrame *context;
-  GArray *values;
+  g_autoptr(GArray) values = NULL;
 
   g_assert (state->stack != NULL);
   g_assert (state->stack->type == LOAD_STATE_SIGNAL);
@@ -334,6 +334,7 @@
   g_assert (context->type == LOAD_STATE_CONTEXT);
 
   values = g_array_sized_new (FALSE, FALSE, sizeof (GValue), g_slist_length 
(signal->params));
+  g_array_set_clear_func (values, (GDestroyNotify)g_value_unset);
 
   for (const GSList *iter = signal->params; iter != NULL; iter = iter->next)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libdazzle-3.28.0/src/widgets/dzl-file-chooser-entry.c 
new/libdazzle-3.28.1/src/widgets/dzl-file-chooser-entry.c
--- old/libdazzle-3.28.0/src/widgets/dzl-file-chooser-entry.c   2018-03-14 
01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/widgets/dzl-file-chooser-entry.c   2018-04-10 
05:54:50.000000000 +0200
@@ -220,7 +220,9 @@
   g_assert (GTK_IS_ENTRY (entry));
 
   file = file_expand (gtk_entry_get_text (entry));
-  g_set_object (&priv->file, file);
+
+  if (g_set_object (&priv->file, file))
+    g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_FILE]);
 }
 
 static void
@@ -556,4 +558,6 @@
 
   collapsed = file_collapse (file);
   gtk_entry_set_text (priv->entry, collapsed);
+
+  g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_FILE]);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libdazzle-3.28.0/src/widgets/dzl-stack-list.h 
new/libdazzle-3.28.1/src/widgets/dzl-stack-list.h
--- old/libdazzle-3.28.0/src/widgets/dzl-stack-list.h   2018-03-14 
01:29:41.000000000 +0100
+++ new/libdazzle-3.28.1/src/widgets/dzl-stack-list.h   2018-04-10 
05:54:50.000000000 +0200
@@ -49,6 +49,16 @@
   gpointer _reserved8;
 };
 
+/**
+ * DzlStackListCreateWidgetFunc:
+ * @item: (type GObject): the item from the model for which to create a widget 
for
+ * @user_data: (closure): user data from dzl_stack_list_push()
+ *
+ * Called for stack lists that are bound to a #GListModel with
+ * dzl_stack_list_push() for each item that gets added to the model.
+ *
+ * Returns: (transfer full): a #GtkWidget that represents @item
+ */
 typedef GtkWidget *(*DzlStackListCreateWidgetFunc) (gpointer item,
                                                     gpointer user_data);
 


Reply via email to