[gnome-settings-daemon] general: suppress all build warnings
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] general: suppress all build warnings
- Date: Thu, 23 Dec 2010 18:56:49 +0000 (UTC)
commit 19e97d370fccfb9ee9677b9b4ed1ce898ded0ccc
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Dec 23 19:53:32 2010 +0100
general: suppress all build warnings
plugins/datetime/test-system-timezone.c | 9 ---------
plugins/housekeeping/gsd-ldsm-trash-empty.c | 2 +-
plugins/smartcard/gsd-smartcard.c | 1 -
3 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/plugins/datetime/test-system-timezone.c b/plugins/datetime/test-system-timezone.c
index 4380df4..19800d8 100644
--- a/plugins/datetime/test-system-timezone.c
+++ b/plugins/datetime/test-system-timezone.c
@@ -47,14 +47,6 @@ timezone_set (const char *new_tz)
return 0;
}
-static void
-timezone_changed (SystemTimezone *systz,
- const char *new_tz,
- gpointer data)
-{
- g_print ("Timezone changed to: %s\n", new_tz);
-}
-
int
main (int argc,
char **argv)
@@ -62,7 +54,6 @@ main (int argc,
int retval;
gboolean get = FALSE;
- gboolean monitor = FALSE;
char *tz_set = NULL;
GError *error;
diff --git a/plugins/housekeeping/gsd-ldsm-trash-empty.c b/plugins/housekeeping/gsd-ldsm-trash-empty.c
index 5050810..b19c6d9 100644
--- a/plugins/housekeeping/gsd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/gsd-ldsm-trash-empty.c
@@ -91,7 +91,7 @@ trash_empty_update_dialog (gpointer user_data)
gchar *markup;
GFile *parent;
- text = g_strdup_printf (_("Removing item %lu of %lu"),
+ text = g_strdup_printf (_("Removing item %"G_GSIZE_FORMAT" of %"G_GSIZE_FORMAT),
deleted, total);
gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progressbar), text);
diff --git a/plugins/smartcard/gsd-smartcard.c b/plugins/smartcard/gsd-smartcard.c
index d5863c7..3fdf53f 100644
--- a/plugins/smartcard/gsd-smartcard.c
+++ b/plugins/smartcard/gsd-smartcard.c
@@ -72,7 +72,6 @@ static PK11SlotInfo *gsd_smartcard_find_slot_from_id (GsdSmartcard *card,
static PK11SlotInfo *gsd_smartcard_find_slot_from_card_name (GsdSmartcard *card,
const char *card_name);
-static gboolean gsd_smartcard_fetch_certificates (GsdSmartcard *card);
#ifndef GSD_SMARTCARD_DEFAULT_SLOT_ID
#define GSD_SMARTCARD_DEFAULT_SLOT_ID ((gulong) -1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]