Commit c4be7eca authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

examples: playback: don't use deprecated font button API

playback-test.c:2587:3: error: "gtk_font_button_get_font_name" is deprecated
parent b25413fb
......@@ -2582,10 +2582,11 @@ subtitle_encoding_activate_cb (GtkEntry * entry, PlaybackApp * app)
static void
subtitle_fontdesc_cb (GtkFontButton * button, PlaybackApp * app)
const gchar *text;
gchar *text;
text = gtk_font_button_get_font_name (button);
text = gtk_font_chooser_get_font (GTK_FONT_CHOOSER (button));
g_object_set (app->pipeline, "subtitle-font-desc", text, NULL);
g_free (text);
static void
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