summaryrefslogtreecommitdiff
path: root/capplets/keybindings/mate-keybinding-properties.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-20 19:05:38 +0200
committerinfirit <[email protected]>2014-05-20 19:05:38 +0200
commitee1b275f63d715701c46f9584bf5c943f354a6a0 (patch)
tree47607528ef17c1e71a087a505b4666b950b6ccc5 /capplets/keybindings/mate-keybinding-properties.c
parente95ed95c19b113368845da8c868b73292e8f936f (diff)
downloadmate-control-center-ee1b275f63d715701c46f9584bf5c943f354a6a0.tar.bz2
mate-control-center-ee1b275f63d715701c46f9584bf5c943f354a6a0.tar.xz
Drop support for glib < 2.36
Diffstat (limited to 'capplets/keybindings/mate-keybinding-properties.c')
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c
index 3f2d5924..cec18262 100644
--- a/capplets/keybindings/mate-keybinding-properties.c
+++ b/capplets/keybindings/mate-keybinding-properties.c
@@ -445,11 +445,7 @@ static gboolean key_match(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* i
if (element && element->settings && G_IS_SETTINGS(element->settings))
{
- #if GLIB_CHECK_VERSION (2, 32, 0)
g_object_get (element->settings, "schema-id", &element_schema, NULL);
- #else
- g_object_get (element->settings, "schema", &element_schema, NULL);
- #endif
g_object_get (element->settings, "path", &element_path, NULL);
}
@@ -1111,21 +1107,13 @@ static gboolean cb_check_for_uniqueness(GtkTreeModel* model, GtkTreePath* path,
if (new_key && new_key->settings)
{
- #if GLIB_CHECK_VERSION (2, 32, 0)
g_object_get (new_key->settings, "schema-id", &new_key_schema, NULL);
- #else
- g_object_get (new_key->settings, "schema", &new_key_schema, NULL);
- #endif
g_object_get (new_key->settings, "path", &new_key_path, NULL);
}
if (element->settings)
{
- #if GLIB_CHECK_VERSION (2, 32, 0)
g_object_get (element->settings, "schema-id", &element_schema, NULL);
- #else
- g_object_get (element->settings, "schema", &element_schema, NULL);
- #endif
g_object_get (element->settings, "path", &element_path, NULL);
}
@@ -1938,9 +1926,6 @@ main (int argc, char *argv[])
GtkBuilder *builder;
GSettings *marco_settings;
-#if !GLIB_CHECK_VERSION (2, 32, 0)
- g_thread_init (NULL);
-#endif
gtk_init (&argc, &argv);
bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);