summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 14:22:53 +0300
committermonsta <[email protected]>2016-02-01 14:22:53 +0300
commit8755736f8c83df00f20037a8db1d63662f37c1ac (patch)
tree9da682eb34bfd1556017dcfb8a239fc1dfa9b19b /applets
parentcde7442e4c83688866b14d2dfc6ec4062f6e607e (diff)
downloadmate-panel-8755736f8c83df00f20037a8db1d63662f37c1ac.tar.bz2
mate-panel-8755736f8c83df00f20037a8db1d63662f37c1ac.tar.xz
fix a couple of build warnings
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/clock-utils.c2
-rw-r--r--applets/wncklet/window-list.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c
index 4ba93fef..b8a15b5f 100644
--- a/applets/clock/clock-utils.c
+++ b/applets/clock/clock-utils.c
@@ -238,7 +238,7 @@ convert_no_alpha (guchar *dest_data,
}
}
-GdkPixbuf *
+static GdkPixbuf *
gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
gint src_x,
gint src_y,
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 6344db6c..e233652b 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -608,7 +608,6 @@ static void display_all_workspaces_toggled(GtkToggleButton* button, TasklistData
static void setup_sensitivity(TasklistData* tasklist, GtkBuilder* builder, const char* wid1, const char* wid2, const char* wid3, const char* key)
{
- MatePanelApplet* applet = MATE_PANEL_APPLET(tasklist->applet);
GtkWidget* w;
if (g_settings_is_writable(tasklist->settings, key))