update
parent
6fd4378a1b
commit
b6f9c524b9
|
@ -32,10 +32,6 @@ libspeed_la_LIBADD = \
|
|||
@LIBXFCE4PANEL_LIBS@ \
|
||||
@LIBXFCE4UI_LIBS@
|
||||
|
||||
check_PROGRAMS = commandline
|
||||
commandline_SOURCES = commandline.c utils.c utils.h net.c net.h
|
||||
commandline_CFLAGS = @LIBXFCE4PANEL_CFLAGS@
|
||||
commandline_LDADD = @LIBXFCE4PANEL_LIBS@
|
||||
|
||||
# .desktop file
|
||||
#
|
||||
|
@ -52,7 +48,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
EXTRA_DIST = \
|
||||
wormulon commandline.c \
|
||||
wormulon \
|
||||
$(desktop_in_in_files)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
|
|
|
@ -19,7 +19,7 @@ netdata data;
|
|||
/* ---------------------------------------------------------------------------------------------- */
|
||||
void sig_end_handler (int sig)
|
||||
{
|
||||
close_netload(&data);
|
||||
close_speed(&data);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ char* get_ip_address(netdata* data)
|
|||
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------- */
|
||||
void close_netload(netdata* data)
|
||||
void close_speed(netdata* data)
|
||||
{
|
||||
/* We need not code here */
|
||||
}
|
||||
|
|
|
@ -113,6 +113,6 @@ char* get_ip_address(netdata* data);
|
|||
/**
|
||||
* Should be called to do cleanup work.
|
||||
*/
|
||||
void close_netload(netdata* data);
|
||||
void close_speed(netdata* data);
|
||||
|
||||
#endif /* NET_H */
|
||||
|
|
|
@ -403,7 +403,7 @@ static void monitor_free(XfcePanelPlugin *plugin, t_global_monitor *global)
|
|||
|
||||
gtk_widget_destroy(global->tooltip_text);
|
||||
|
||||
close_netload( &(global->monitor->data) );
|
||||
close_speed( &(global->monitor->data) );
|
||||
|
||||
g_free(global);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue