~tristan957/tllt-cp

3669adf93e2ad4316587000bed2c304e62a75f52 — Tristan Partin 1 year, 6 months ago 61dcbf6
Get rid of warning
1 files changed, 2 insertions(+), 3 deletions(-)

M src/tllt-cp-new-recipe-window.c
M src/tllt-cp-new-recipe-window.c => src/tllt-cp-new-recipe-window.c +2 -3
@@ 94,9 94,8 @@ on_create_recipe_button_clicked(G_GNUC_UNUSED GtkButton *widget, gpointer user_d
	TlltCpNewRecipeWindowPrivate *priv = tllt_cp_new_recipe_window_get_instance_private(self);

	g_autoptr(GError) err = NULL;
	TlltCpRecipe *recipe  = tllt_cp_user_add_recipe(
		 priv->author, priv->client, gtk_entry_get_text(priv->recipe_name_entry),
		 gtk_combo_box_get_active(GTK_COMBO_BOX(priv->recipe_type_combo)), &err);
	tllt_cp_user_add_recipe(priv->author, priv->client, gtk_entry_get_text(priv->recipe_name_entry),
							gtk_combo_box_get_active(GTK_COMBO_BOX(priv->recipe_type_combo)), &err);

	// TODO: do something meaningful with error
	if (err != NULL) {