summaryrefslogtreecommitdiff
path: root/src/trg-preferences-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-preferences-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-preferences-dialog.c')
-rw-r--r--src/trg-preferences-dialog.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c
index 8f86fbd..cd8f51f 100644
--- a/src/trg-preferences-dialog.c
+++ b/src/trg-preferences-dialog.c
@@ -55,7 +55,7 @@ static void
trg_preferences_dialog_set_property(GObject * object,
guint prop_id,
const GValue * value,
- GParamSpec * pspec)
+ GParamSpec * pspec G_GNUC_UNUSED)
{
TrgPreferencesDialog *pref_dlg = TRG_PREFERENCES_DIALOG(object);
@@ -70,7 +70,8 @@ trg_preferences_dialog_set_property(GObject * object,
}
static void
-trg_preferences_response_cb(GtkDialog * dlg, gint res_id, gpointer data)
+trg_preferences_response_cb(GtkDialog * dlg, gint res_id,
+ gpointer data G_GNUC_UNUSED)
{
switch (res_id) {
default:
@@ -81,8 +82,9 @@ trg_preferences_response_cb(GtkDialog * dlg, gint res_id, gpointer data)
static void
trg_preferences_dialog_get_property(GObject * object,
- guint prop_id,
- GValue * value, GParamSpec * pspec)
+ guint prop_id,
+ GValue * value,
+ GParamSpec * pspec G_GNUC_UNUSED)
{
TrgPreferencesDialog *pref_dlg = TRG_PREFERENCES_DIALOG(object);