(gtk) rename `io.h' as `tr-io.h' to fix mingw conflicts. fix minor compiler warning when building w/o libnotify support.
This commit is contained in:
parent
d2f1c7aff3
commit
5552aab68b
|
@ -18,7 +18,6 @@ noinst_HEADERS = \
|
|||
details.h \
|
||||
dialogs.h \
|
||||
hig.h \
|
||||
io.h \
|
||||
ipc.h \
|
||||
file-list.h \
|
||||
lock.h \
|
||||
|
@ -31,6 +30,7 @@ noinst_HEADERS = \
|
|||
torrent-cell-renderer.h \
|
||||
tr_core.h \
|
||||
tr_icon.h \
|
||||
tr-io.h \
|
||||
tr_prefs.h \
|
||||
tr_torrent.h \
|
||||
tr_window.h \
|
||||
|
@ -58,6 +58,7 @@ transmission_SOURCES = \
|
|||
torrent-cell-renderer.c \
|
||||
tr_core.c \
|
||||
tr_icon.c \
|
||||
tr-io.c \
|
||||
tr_prefs.c \
|
||||
tr_torrent.c \
|
||||
tr_window.c \
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
#include <libtransmission/ipcparse.h>
|
||||
|
||||
#include "conf.h"
|
||||
#include "io.h"
|
||||
#include "ipc.h"
|
||||
#include "tr_core.h"
|
||||
#include "tr-io.h"
|
||||
#include "tr_prefs.h"
|
||||
#include "tr_torrent.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef HAVE_LIBNOTIFY
|
||||
|
||||
void tr_notify_init( void ) { }
|
||||
void tr_notify_send( TrTorrent * tor ) { }
|
||||
void tr_notify_send( TrTorrent * tor UNUSED ) { }
|
||||
|
||||
#else
|
||||
#include <libnotify/notify.h>
|
||||
|
|
Loading…
Reference in New Issue