[Xfce4-commits] <xfwm4:master> Fix some more compiler warnings.
Nick Schermer
noreply at xfce.org
Mon Feb 20 22:46:01 CET 2012
Updating branch refs/heads/master
to 83ae7bb900d412af13cb5e6f1c072439c53bc9b3 (commit)
from 07c70b760ee296b2a8c423964c84ff1e7a37994b (commit)
commit 83ae7bb900d412af13cb5e6f1c072439c53bc9b3
Author: Nick Schermer <nick at xfce.org>
Date: Mon Feb 20 22:45:20 2012 +0100
Fix some more compiler warnings.
src/focus.c | 2 --
src/moveresize.c | 2 --
src/tabwin.c | 2 +-
3 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/focus.c b/src/focus.c
index c3c7015..c1f870c 100644
--- a/src/focus.c
+++ b/src/focus.c
@@ -745,14 +745,12 @@ static gboolean
delayed_focus_cb (gpointer data)
{
ScreenInfo *screen_info;
- DisplayInfo *display_info;
guint32 timestamp = (guint32) GPOINTER_TO_INT (data);
TRACE ("entering delayed_focus_cb");
g_return_val_if_fail (delayed_focus != NULL, FALSE);
screen_info = delayed_focus->screen_info;
- display_info = screen_info->display_info;
clientSetFocus (screen_info, delayed_focus, timestamp, NO_FOCUS_FLAG);
focus_timeout = 0;
delayed_focus = NULL;
diff --git a/src/moveresize.c b/src/moveresize.c
index 8fe4390..35dc40e 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -751,12 +751,10 @@ static gboolean
clientMoveTile (Client *c, XMotionEvent *xevent)
{
ScreenInfo *screen_info;
- DisplayInfo *display_info;
GdkRectangle rect;
int x, y, disp_x, disp_y, disp_max_x, disp_max_y, dist;
screen_info = c->screen_info;
- display_info = screen_info->display_info;
if (screen_info->params->wrap_windows)
{
diff --git a/src/tabwin.c b/src/tabwin.c
index 675e5b4..c130418 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -262,7 +262,7 @@ createWindowlist (ScreenInfo *screen_info, TabwinWidget *tbw)
Client *c;
GList *client_list;
GtkWidget *windowlist, *icon, *selected;
- int i, packpos, monitor_width;
+ int packpos, monitor_width;
Tabwin *t;
gint icon_size = WIN_ICON_SIZE;
More information about the Xfce4-commits
mailing list