[yocto] [matchbox-panel-2][PATCH 25/25] windowselector: Port to ScalingImage2

Jussi Kukkonen jussi.kukkonen at intel.com
Tue May 3 04:30:44 PDT 2016


Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
 applets/windowselector/windowselector.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applets/windowselector/windowselector.c b/applets/windowselector/windowselector.c
index 9c1dadf..d269355 100644
--- a/applets/windowselector/windowselector.c
+++ b/applets/windowselector/windowselector.c
@@ -15,7 +15,7 @@
 #include <gdk/gdkx.h>
 
 #include <matchbox-panel/mb-panel.h>
-#include <matchbox-panel/mb-panel-scaling-image.h>
+#include <matchbox-panel/mb-panel-scaling-image2.h>
 
 #define DEFAULT_WINDOW_ICON_NAME "application-x-executable"
 
@@ -792,7 +792,7 @@ mb_panel_applet_create (const char    *id,
 
         switch (applet->mode) {
         case MODE_STATIC_ICON:
-                applet->image = mb_panel_scaling_image_new (orientation,
+                applet->image = mb_panel_scaling_image2_new (orientation,
                         "panel-task-switcher");
                 gtk_container_add (GTK_CONTAINER (applet->button),
                                 applet->image);
-- 
2.8.1




More information about the yocto mailing list