summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2022-08-24 21:18:06 -0500
committerGary Kramlich <grim@reaperworld.com>2022-08-24 21:18:06 -0500
commit2d3f14547111c201828c1de9a2e846aa493ee4eb (patch)
treee199667888ef287a4e9a879b0feaeee85d1001d3
parent42b5cdbba56c3d3246d8f4da3a9be4ea0442f541 (diff)
downloadpidgin-2d3f14547111c201828c1de9a2e846aa493ee4eb.tar.gz
Remove the custom css setup for now as it's throwing a GWarning and we need to plan this out more.
Testing Done: Ran and verified the warning was gone. Reviewed at https://reviews.imfreedom.org/r/1636/
-rw-r--r--pidgin/pidginapplication.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pidgin/pidginapplication.c b/pidgin/pidginapplication.c
index b7751035cb..40bde883e3 100644
--- a/pidgin/pidginapplication.c
+++ b/pidgin/pidginapplication.c
@@ -678,9 +678,7 @@ static void
pidgin_application_startup(GApplication *application) {
PurpleAccountManager *manager = NULL;
PurpleUiInfo *ui_info = NULL;
- GtkCssProvider *provider = NULL;
GList *active_accounts = NULL;
- gchar *search_path = NULL;
gpointer handle = NULL;
G_APPLICATION_CLASS(pidgin_application_parent_class)->startup(application);
@@ -710,16 +708,6 @@ pidgin_application_startup(GApplication *application) {
pidgin_debug_set_print_enabled(opt_debug);
#endif
- provider = gtk_css_provider_new();
-
- search_path = g_build_filename(purple_config_dir(), "gtk-3.0.css", NULL);
- gtk_css_provider_load_from_path(provider, search_path);
- gtk_style_context_add_provider_for_display(gdk_display_get_default(),
- GTK_STYLE_PROVIDER(provider),
- GTK_STYLE_PROVIDER_PRIORITY_USER);
-
- g_free(search_path);
-
#ifdef _WIN32
winpidgin_init();
#endif