diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-04 12:17:21 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-04 12:17:21 +0000 |
commit | f5fe60d8133ab3c7ca75fd80ed1c8d02d5e68e70 (patch) | |
tree | a342e89cc97bf08f9c40c3d23c98c557360ec5a3 /src/trg-files-model.c | |
parent | 1d6a5969e35e312c598a7357830506c52d54c4b8 (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-files-model.c')
-rw-r--r-- | src/trg-files-model.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/trg-files-model.c b/src/trg-files-model.c index 35d3684..dff880a 100644 --- a/src/trg-files-model.c +++ b/src/trg-files-model.c @@ -115,8 +115,9 @@ static void trg_files_model_init(TrgFilesModel * self) gboolean trg_files_model_update_foreach(GtkListStore * model, - GtkTreePath * path, GtkTreeIter * iter, - gpointer data) + GtkTreePath * path G_GNUC_UNUSED, + GtkTreeIter * iter, + gpointer data G_GNUC_UNUSED) { TrgFilesModelPrivate *priv = TRG_FILES_MODEL_GET_PRIVATE(model); JsonObject *file; @@ -136,7 +137,7 @@ trg_files_model_update(TrgFilesModel * model, gint64 updateSerial, JsonObject * t, gboolean first) { TrgFilesModelPrivate *priv = TRG_FILES_MODEL_GET_PRIVATE(model); - int j; + guint j; if (first == TRUE) gtk_list_store_clear(GTK_LIST_STORE(model)); |