diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-12 15:12:12 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-12 15:12:12 -0300 |
commit | ce1ad43ac280fb0ffe78237f00594cff7bd37a86 (patch) | |
tree | 4ccd98703bb333e6e78e85ed01789560760d9018 | |
parent | d9d18bf7f3817c7fcb6854cdf0f8c89e89617fe9 (diff) |
remove extraneous rgba visuals code
-rw-r--r-- | rose.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -180,10 +180,6 @@ void notebook_create_new_tab(GtkNotebook* notebook, const char* uri) { if (num_tabs < MAX_NUM_TABS || MAX_NUM_TABS == 0) { GdkScreen* screen = gtk_window_get_screen(GTK_WINDOW(window)); - GdkVisual* rgba_visual = gdk_screen_get_rgba_visual(screen); - GdkRGBA rgba; - - gdk_rgba_parse(&rgba, BG_COLOR); WebKitWebView* view = create_new_webview(); @@ -195,7 +191,6 @@ void notebook_create_new_tab(GtkNotebook* notebook, const char* uri) gtk_notebook_set_tab_reorderable(notebook, GTK_WIDGET(view), true); gtk_widget_show_all(GTK_WIDGET(window)); gtk_widget_hide(GTK_WIDGET(bar.widget)); - webkit_web_view_set_background_color(view, &rgba); load_uri(view, (uri) ? uri : HOME); set_custom_style(view); |