diff -Nru indicator-application-0.4.91/AUTHORS indicator-application-0.4.92/AUTHORS --- indicator-application-0.4.91/AUTHORS 2012-02-15 17:59:39.000000000 +0000 +++ indicator-application-0.4.92/AUTHORS 2012-03-09 21:09:33.000000000 +0000 @@ -20,6 +20,7 @@ Michael Terry Neil Jagdish Patel Neil J. Patel + Ryan Lortie Sebastien Bacher Sense Egbert Hofstede Sense Hofstede diff -Nru indicator-application-0.4.91/ChangeLog indicator-application-0.4.92/ChangeLog --- indicator-application-0.4.91/ChangeLog 2012-02-15 17:59:39.000000000 +0000 +++ indicator-application-0.4.92/ChangeLog 2012-03-09 21:09:33.000000000 +0000 @@ -1,5 +1,29 @@ # Generated by Makefile. Do not edit. +2012-03-09 Ted Gould + + 0.4.92 + +2012-03-05 Charles Kerr + + merge lp:~ted/indicator-application/lp944236 to fix the warning that Coverity reported in bug #944236 + +2012-03-02 Ted Gould + + Cleaning up switch statement to be more readable + +2012-03-02 Ted Gould + + Add full type to GVariantBuilder + +2012-03-02 Ryan Lortie + + make proper use of g_variant_builder_init() + + GVariantBuilder can only infer the proper type for non-empty arrays. If + an array may be empty, the full definite type must be given to + g_variant_builder_init(). + 2012-02-15 Ted Gould 0.4.91 diff -Nru indicator-application-0.4.91/configure indicator-application-0.4.92/configure --- indicator-application-0.4.91/configure 2012-02-15 17:59:33.000000000 +0000 +++ indicator-application-0.4.92/configure 2012-03-09 21:09:27.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for indicator-application 0.4.91. +# Generated by GNU Autoconf 2.68 for indicator-application 0.4.92. # # Report bugs to . # @@ -572,8 +572,8 @@ # Identity of this package. PACKAGE_NAME='indicator-application' PACKAGE_TARNAME='indicator-application' -PACKAGE_VERSION='0.4.91' -PACKAGE_STRING='indicator-application 0.4.91' +PACKAGE_VERSION='0.4.92' +PACKAGE_STRING='indicator-application 0.4.92' PACKAGE_BUGREPORT='ted@canonical.com' PACKAGE_URL='' @@ -1328,7 +1328,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures indicator-application 0.4.91 to adapt to many kinds of systems. +\`configure' configures indicator-application 0.4.92 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1399,7 +1399,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of indicator-application 0.4.91:";; + short | recursive ) echo "Configuration of indicator-application 0.4.92:";; esac cat <<\_ACEOF @@ -1521,7 +1521,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -indicator-application configure 0.4.91 +indicator-application configure 0.4.92 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1801,7 +1801,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by indicator-application $as_me 0.4.91, which was +It was created by indicator-application $as_me 0.4.92, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2622,7 +2622,7 @@ # Define the identity of the package. PACKAGE=indicator-application - VERSION=0.4.91 + VERSION=0.4.92 cat >>confdefs.h <<_ACEOF @@ -13713,7 +13713,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by indicator-application $as_me 0.4.91, which was +This file was extended by indicator-application $as_me 0.4.92, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13779,7 +13779,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -indicator-application config.status 0.4.91 +indicator-application config.status 0.4.92 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -Nru indicator-application-0.4.91/configure.ac indicator-application-0.4.92/configure.ac --- indicator-application-0.4.91/configure.ac 2012-02-15 17:59:07.000000000 +0000 +++ indicator-application-0.4.92/configure.ac 2012-03-09 21:09:13.000000000 +0000 @@ -1,11 +1,11 @@ -AC_INIT(indicator-application, 0.4.91, ted@canonical.com) +AC_INIT(indicator-application, 0.4.92, ted@canonical.com) AC_COPYRIGHT([Copyright 2009, 2010 Canonical]) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-application, 0.4.91) +AM_INIT_AUTOMAKE(indicator-application, 0.4.92) AM_MAINTAINER_MODE diff -Nru indicator-application-0.4.91/debian/changelog indicator-application-0.4.92/debian/changelog --- indicator-application-0.4.91/debian/changelog 2012-03-12 14:36:26.000000000 +0000 +++ indicator-application-0.4.92/debian/changelog 2012-03-12 14:36:27.000000000 +0000 @@ -1,3 +1,11 @@ +indicator-application (0.4.92-0ubuntu1) precise; urgency=low + + * New upstream release. + * Explicitly specifying GVariant Builder types + * Cleaning up a switch statement (LP: #944236) + + -- Ted Gould Fri, 09 Mar 2012 15:15:19 -0600 + indicator-application (0.4.91-0ubuntu2) precise; urgency=low * Backport an upstream fix for a gvariant misuse, thanks desrt for it! diff -Nru indicator-application-0.4.91/src/application-service-appstore.c indicator-application-0.4.92/src/application-service-appstore.c --- indicator-application-0.4.91/src/application-service-appstore.c 2012-03-12 14:36:26.000000000 +0000 +++ indicator-application-0.4.92/src/application-service-appstore.c 2012-03-09 21:08:41.000000000 +0000 @@ -284,14 +284,23 @@ switch (direction) { case INDICATOR_OBJECT_SCROLL_UP: delta = -delta; + orientation = "vertical"; + break; case INDICATOR_OBJECT_SCROLL_DOWN: + /* delta unchanged */ orientation = "vertical"; break; - case INDICATOR_OBJECT_SCROLL_LEFT: delta = -delta; + orientation = "horizontal"; + break; case INDICATOR_OBJECT_SCROLL_RIGHT: + /* delta unchanged */ orientation = "horizontal"; + break; + default: + g_assert_not_reached(); + break; } app = find_application_by_menu(service, dbusaddress, dbusmenuobject);