summaryrefslogtreecommitdiff
path: root/src/libtracker-common/tracker-locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtracker-common/tracker-locale.h')
-rw-r--r--src/libtracker-common/tracker-locale.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/libtracker-common/tracker-locale.h b/src/libtracker-common/tracker-locale.h
index 3ade737bd..d1b800338 100644
--- a/src/libtracker-common/tracker-locale.h
+++ b/src/libtracker-common/tracker-locale.h
@@ -38,32 +38,18 @@ typedef enum {
TRACKER_LOCALE_LAST
} TrackerLocaleID;
-/* Callback for the notification of locale changes */
-typedef void (* TrackerLocaleNotifyFunc) (TrackerLocaleID id,
- gpointer user_data);
+void tracker_locale_init (void);
+void tracker_locale_shutdown (void);
/* Get the current locale of the given type.
* Note that it returns a newly-allocated string which should be g_free()-ed
*/
gchar *tracker_locale_get (TrackerLocaleID id);
-/* Adds a new subscriber to locale change notifications.
- * Returns a pointer which identifies the subscription.
- */
-gpointer tracker_locale_notify_add (TrackerLocaleID id,
- TrackerLocaleNotifyFunc func,
- gpointer user_data,
- GFreeFunc destroy_notify);
-
-/* Remove a given subscriber, passing the id you got in _add() */
-void tracker_locale_notify_remove (gpointer notification_id);
-
const gchar* tracker_locale_get_name (guint i);
void tracker_locale_set (TrackerLocaleID id,
const gchar *value);
-void tracker_locale_init (void);
-void tracker_locale_shutdown (void);
G_END_DECLS