[yocto] [sato-screenshot][PATCH] applet: Port to ScalingImage2

Burton, Ross ross.burton at intel.com
Wed Jul 13 06:07:12 PDT 2016


+1

On 13 July 2016 at 14:00, Jussi Kukkonen <jussi.kukkonen at intel.com> wrote:

> Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
> ---
>  applet.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/applet.c b/applet.c
> index 699a920..d403619 100644
> --- a/applet.c
> +++ b/applet.c
> @@ -8,7 +8,7 @@
>
>  #include <gtk/gtk.h>
>  #include <matchbox-panel/mb-panel.h>
> -#include <matchbox-panel/mb-panel-scaling-image.h>
> +#include <matchbox-panel/mb-panel-scaling-image2.h>
>  #include "screenshot-ui.h"
>
>  static void
> @@ -26,7 +26,7 @@ mb_panel_applet_create (const char *id, GtkOrientation
> orientation)
>    gtk_widget_set_name (button, "MatchboxPanelScreenshot");
>    gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
>
> -  image = mb_panel_scaling_image_new (orientation, "applet-screenshot");
> +  image = mb_panel_scaling_image2_new (orientation, "applet-screenshot");
>    gtk_container_add (GTK_CONTAINER (button), image);
>
>    g_signal_connect (button, "clicked", G_CALLBACK (on_clicked), NULL);
> --
> 2.8.1
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160713/c736b8bc/attachment.html>


More information about the yocto mailing list