M lib/tllt-cp-client.c => lib/tllt-cp-client.c +2 -0
@@ 229,6 229,8 @@ tllt_cp_client_post_request(TlltCpClient *self, const GType type, const char *en
goto on_error;
}
+ g_print("%s\n", deserialized);
+
g_free(deserialized);
}
M src/tllt-cp-new-recipe-window.c => src/tllt-cp-new-recipe-window.c +1 -2
@@ 101,8 101,7 @@ on_create_recipe_button_clicked(G_GNUC_UNUSED GtkButton *widget, gpointer user_d
g_autoptr(GError) err = NULL;
tllt_cp_user_add_recipe(priv->author, priv->client, gtk_entry_get_text(priv->recipe_name_entry),
- gtk_combo_box_get_id_column(GTK_COMBO_BOX(priv->recipe_type_combo)),
- &err);
+ gtk_combo_box_get_active(GTK_COMBO_BOX(priv->recipe_type_combo)), &err);
// TODO: do something meaningful with error
if (err != NULL) {