diff options
author | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-09-28 20:30:05 +0200 |
---|---|---|
committer | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-09-28 20:30:05 +0200 |
commit | 52a5bab935a7eb9afdf3fc5c8c4a18b1ce87b073 (patch) | |
tree | c3788f232df395f2f099e4f1b77d84bab1fe770f | |
parent | fbcb22e5c59c4e65da58261c3eba7e5fac2c27f2 (diff) | |
parent | aa48aaccb56723bbbc066260f25380fb95360119 (diff) |
dr77: rebase to DEV300_m88
-rw-r--r-- | libegg/source/eggtrayicon.c | 7 | ||||
-rw-r--r-- | libegg/source/makefile.mk | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libegg/source/eggtrayicon.c b/libegg/source/eggtrayicon.c index 7207b5f..9c68113 100644 --- a/libegg/source/eggtrayicon.c +++ b/libegg/source/eggtrayicon.c @@ -230,10 +230,11 @@ egg_tray_icon_manager_filter (GdkXEvent *xevent, GdkEvent *event, gpointer user_ { EggTrayIcon *icon = user_data; XEvent *xev = (XEvent *)xevent; + (void)event; if (xev->xany.type == ClientMessage && xev->xclient.message_type == icon->manager_atom && - xev->xclient.data.l[1] == icon->selection_atom) + (Atom)(xev->xclient.data.l[1]) == icon->selection_atom) { egg_tray_icon_update_manager_window (icon, TRUE); } @@ -383,6 +384,7 @@ egg_tray_icon_manager_window_destroyed (EggTrayIcon *icon) static gboolean transparent_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) { + (void)user_data; gdk_window_clear_area (widget->window, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; @@ -392,6 +394,8 @@ static void make_transparent_again (GtkWidget *widget, GtkStyle *previous_style, gpointer user_data) { + (void)previous_style; + (void)user_data; gdk_window_set_back_pixmap (widget->window, NULL, TRUE); } @@ -401,6 +405,7 @@ make_transparent (GtkWidget *widget, gpointer user_data) if (GTK_WIDGET_NO_WINDOW (widget) || GTK_WIDGET_APP_PAINTABLE (widget)) return; + (void)user_data; gtk_widget_set_app_paintable (widget, TRUE); gtk_widget_set_double_buffered (widget, FALSE); gdk_window_set_back_pixmap (widget->window, NULL, TRUE); diff --git a/libegg/source/makefile.mk b/libegg/source/makefile.mk index e1dae4a..3bc9b80 100644 --- a/libegg/source/makefile.mk +++ b/libegg/source/makefile.mk @@ -63,7 +63,7 @@ SHL1LIBS= $(SLB)$/eggtray.lib # --- Targets ---------------------------------- .ENDIF # L10N_framework -.IF "$(OS)$(CPU)" == "LINUXX" +.IF "$(OS)$(CPU)" == "LINUXX" && "$(LIBRARY_PATH)" != "" EXTRALIBPATHS+=-L$(LIBRARY_PATH) .ENDIF # "$(OS)$(CPU)" == "LINUXX" .INCLUDE : target.mk |