aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-07-13 14:01:09 +0300
committerJussi Kukkonen <jussi.kukkonen@intel.com>2016-07-13 14:16:40 +0300
commit58aa93e480792787fb3c38400d0bce3a7cebf750 (patch)
treec1e8b58fa4ba46c671832d922f845c23331aba3c
parent1ac71e562548c3db28ac4a68803ed8b85b778024 (diff)
downloadmatchbox-panel-2-58aa93e480792787fb3c38400d0bce3a7cebf750.tar.gz
matchbox-panel-2-58aa93e480792787fb3c38400d0bce3a7cebf750.tar.bz2
matchbox-panel-2-58aa93e480792787fb3c38400d0bce3a7cebf750.zip
launcher: Port to ScalingImage2
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r--applets/launcher/launcher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/applets/launcher/launcher.c b/applets/launcher/launcher.c
index 0ec8a43..d1ab8e4 100644
--- a/applets/launcher/launcher.c
+++ b/applets/launcher/launcher.c
@@ -12,7 +12,7 @@
#include <gtk/gtk.h>
#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>
#ifdef USE_LIBSN
#define SN_API_NOT_YET_FROZEN 1
@@ -20,7 +20,7 @@
#endif
typedef struct {
- GtkImage *image;
+ MBPanelScalingImage2 *image;
gboolean button_down;
@@ -331,7 +331,7 @@ mb_panel_applet_create (const char *id,
gtk_widget_set_name (event_box, "MatchboxPanelLauncher");
- image = mb_panel_scaling_image_new (orientation, icon);
+ image = mb_panel_scaling_image2_new (orientation, icon);
g_free (icon);
gtk_container_add (GTK_CONTAINER (event_box), image);
@@ -339,7 +339,7 @@ mb_panel_applet_create (const char *id,
/* Set up applet structure */
applet = g_slice_new0 (LauncherApplet);
- applet->image = GTK_IMAGE (image);
+ applet->image = MB_PANEL_SCALING_IMAGE2 (image);
applet->button_down = FALSE;