diff -Nru mssh-2.2/debian/changelog mssh-2.2/debian/changelog --- mssh-2.2/debian/changelog 2017-12-12 12:32:27.000000000 +0000 +++ mssh-2.2/debian/changelog 2018-03-10 14:47:07.000000000 +0000 @@ -1,3 +1,10 @@ +mssh (2.2-5) unstable; urgency=medium + + * Fix FTBFS due to deprecated function by adding upstream patch + (Closes: #890853) + + -- Héctor García Álvarez Sat, 10 Mar 2018 15:47:07 +0100 + mssh (2.2-4) unstable; urgency=medium * Fixed VCS url diff -Nru mssh-2.2/debian/patches/button_2_chooser.patch mssh-2.2/debian/patches/button_2_chooser.patch --- mssh-2.2/debian/patches/button_2_chooser.patch 1970-01-01 00:00:00.000000000 +0000 +++ mssh-2.2/debian/patches/button_2_chooser.patch 2018-03-10 14:47:07.000000000 +0000 @@ -0,0 +1,22 @@ +diff --git a/src/mssh-pref.c b/src/mssh-pref.c +index 8b874d3..9185ec0 100644 +--- a/src/mssh-pref.c ++++ b/src/mssh-pref.c +@@ -31,7 +31,7 @@ static void mssh_pref_font_select(GtkWidget *widget, gpointer data) + + client = gconf_client_get_default(); + +- font = gtk_font_button_get_font_name(GTK_FONT_BUTTON(widget)); ++ font = gtk_font_chooser_get_font (GTK_FONT_CHOOSER(widget)); + + gconf_client_set_string(client, MSSH_GCONF_KEY_FONT, font, NULL); + } +@@ -383,7 +383,7 @@ static void mssh_pref_init(MSSHPref* pref) + entry = gconf_client_get_entry(client, MSSH_GCONF_KEY_FONT, NULL, + TRUE, NULL); + value = gconf_entry_get_value(entry); +- gtk_font_button_set_font_name(GTK_FONT_BUTTON(font_select), ++ gtk_font_chooser_set_font(GTK_FONT_CHOOSER(font_select), + gconf_value_get_string(value)); + + entry = gconf_client_get_entry(client, MSSH_GCONF_KEY_FG_COLOUR, NULL, diff -Nru mssh-2.2/debian/patches/series mssh-2.2/debian/patches/series --- mssh-2.2/debian/patches/series 2017-12-12 12:13:09.000000000 +0000 +++ mssh-2.2/debian/patches/series 2018-03-10 14:47:07.000000000 +0000 @@ -1,3 +1,4 @@ disable-pedantic-errors.patch intltools_update fix-ftbfs-with-libvte-0.50.patch +button_2_chooser.patch