mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +00:00
Wrapped the GTK2-only font selection helper functions in #if !HAVE_GTK3 guards while keeping the GTK3 font chooser response handler and GTK3 browse font path intact.
This commit is contained in:
@@ -1276,6 +1276,7 @@ setup_browsefile_cb (GtkWidget *button, GtkWidget *entry)
|
||||
entry, NULL, filter, filter_type|FRF_RECENTLYUSED|FRF_MODAL);
|
||||
}
|
||||
|
||||
#if !HAVE_GTK3
|
||||
static void
|
||||
setup_fontsel_destroy (GtkWidget *button, GtkFontSelectionDialog *dialog)
|
||||
{
|
||||
@@ -1304,6 +1305,7 @@ setup_fontsel_cancel (GtkWidget *button, GtkFontSelectionDialog *dialog)
|
||||
gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
font_dialog = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if HAVE_GTK3
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user