From 0613ee8a1b7e82556c814d86a2d87861adc7a85a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 15 Jan 2014 21:43:47 -0600 Subject: [PATCH] Code cleanup --- tools/wifibrowser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/wifibrowser.c b/tools/wifibrowser.c index fbd6acd..18b1778 100644 --- a/tools/wifibrowser.c +++ b/tools/wifibrowser.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2013 Pierre Pronchery */ +/* Copyright (c) 2013-2014 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Panel */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -283,13 +283,14 @@ static gboolean _wifibrowser_on_view_button_press(GtkWidget * widget, static gboolean _wifibrowser_on_view_popup_menu(GtkWidget * widget, gpointer data) { + WPA * wpa = data; GdkEventButton event; memset(&event, 0, sizeof(event)); event.type = GDK_BUTTON_PRESS; event.button = 0; event.time = gtk_get_current_event_time(); - return _wifibrowser_on_view_button_press(widget, &event, data); + return _wifibrowser_on_view_button_press(widget, &event, wpa); }