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

Jussi Kukkonen jussi.kukkonen at intel.com
Wed Jul 13 06:00:27 PDT 2016


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




More information about the yocto mailing list