summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-04 12:17:21 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-04 12:17:21 +0000
commitf5fe60d8133ab3c7ca75fd80ed1c8d02d5e68e70 (patch)
treea342e89cc97bf08f9c40c3d23c98c557360ec5a3 /src/trg-torrent-props-dialog.c
parent1d6a5969e35e312c598a7357830506c52d54c4b8 (diff)
big thanks to charles for the feedback and patches! fixes for building against older libnotify (issue 1+4), use AM_SILENT_RULES (6), compiler warning fixes (5), use GDK_Delete instead of GDK_KEY_Delete (3)
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index 8809699..100b876 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -64,7 +64,7 @@ static void
trg_torrent_props_dialog_set_property(GObject * object,
guint prop_id,
const GValue * value,
- GParamSpec * pspec)
+ GParamSpec * pspec G_GNUC_UNUSED)
{
TrgTorrentPropsDialogPrivate *priv =
TRG_TORRENT_PROPS_DIALOG_GET_PRIVATE(object);
@@ -82,7 +82,8 @@ trg_torrent_props_dialog_set_property(GObject * object,
static void
trg_torrent_props_dialog_get_property(GObject * object,
guint prop_id,
- GValue * value, GParamSpec * pspec)
+ GValue * value,
+ GParamSpec * pspec G_GNUC_UNUSED)
{
TrgTorrentPropsDialogPrivate *priv =
TRG_TORRENT_PROPS_DIALOG_GET_PRIVATE(object);
@@ -98,7 +99,8 @@ trg_torrent_props_dialog_get_property(GObject * object,
}
static void
-trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id, gpointer data)
+trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id,
+ gpointer data G_GNUC_UNUSED)
{
TrgTorrentPropsDialogPrivate *priv;
JsonNode *request;
@@ -348,7 +350,8 @@ trg_torrent_props_dialog_class_init(TrgTorrentPropsDialogClass * klass)
G_PARAM_STATIC_BLURB));
}
-static void trg_torrent_props_dialog_init(TrgTorrentPropsDialog * self)
+static void
+trg_torrent_props_dialog_init(TrgTorrentPropsDialog * self G_GNUC_UNUSED)
{
}