Commit 04ac7fb1 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Fix typo.

parent 53e853fb
......@@ -65,10 +65,9 @@ eek_text_real_deserialize (EekSerializable *self,
EekTextPrivate *priv = EEK_TEXT_GET_PRIVATE(self);
index = eek_text_parent_serializable_iface->deserialize (self,
variant,
index);
g_variant_get_child (variant, index++, "u", &priv->text);
variant,
index);
g_variant_get_child (variant, index++, "s", &priv->text);
return index;
}
......
......@@ -26,5 +26,5 @@ Description: A Library to Create Keyboard-like UI
URL: http://ueno.github.com/eekboard/
Version: @VERSION@
Requires: eek-@EEK_API_VERSION@
Libs: -L${libdir} -leek
Libs: -L${libdir} -leekboard
Cflags: -I${includedir}/eekboard-@EEK_API_VERSION@
......@@ -106,7 +106,7 @@ void eekboard_context_press_keycode (EekboardContext *context,
void eekboard_context_release_keycode (EekboardContext *context,
guint keycode,
GCancellable *cancellable);
gboolean eekboard_context_is_keyboard_visible
gboolean eekboard_context_is_visible
(EekboardContext *context);
void eekboard_context_set_enabled (EekboardContext *context,
gboolean enabled);
......
......@@ -157,11 +157,20 @@ main (int argc, char **argv)
switch (bus_type) {
case G_BUS_TYPE_SYSTEM:
error = NULL;
connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error);
if (connection == NULL) {
g_printerr ("Can't connect to the system bus: %s\n",
error->message);
exit (1);
}
break;
case G_BUS_TYPE_SESSION:
error = NULL;
connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
if (connection == NULL) {
g_printerr ("Can't connect to the bus: %s\n", error->message);
g_printerr ("Can't connect to the session bus: %s\n",
error->message);
exit (1);
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment