From: Hugo Villeneuve Date: Mon, 24 Nov 2014 13:32:20 +0000 (-0500) Subject: Fix compiler warnings X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ebbabacd62481c81534255c11df50c0d30439334;p=dockapps%2Fhvclock.git Fix compiler warnings --- diff --git a/src/clock.c b/src/clock.c index 1701fff..cdce025 100644 --- a/src/clock.c +++ b/src/clock.c @@ -417,6 +417,8 @@ hvclock_redraw_canvas(GtkWidget *widget) static gboolean hvclock_button_release(GtkWidget *clock, GdkEventButton *event) { + (void) event; /* Unused parameter. */ + if (hvclock_infos.debug) printf("%s: button released\n", PACKAGE_NAME); diff --git a/src/dockapp.c b/src/dockapp.c index 95fa691..4dfe77b 100644 --- a/src/dockapp.c +++ b/src/dockapp.c @@ -69,6 +69,8 @@ dockapp_gtk_withdrawn_hack(GtkWidget *dockwin, GtkWidget *iconwin) Window win_temp; Window win_orig; + (void) iconwin; /* Unused parameter. */ + d = GDK_DISPLAY_XDISPLAY(gdk_display_get_default()); win_orig = GDK_WINDOW_XID(dockwin->window);