aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-12 15:12:12 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-12 15:12:12 -0300
commitce1ad43ac280fb0ffe78237f00594cff7bd37a86 (patch)
tree4ccd98703bb333e6e78e85ed01789560760d9018
parentd9d18bf7f3817c7fcb6854cdf0f8c89e89617fe9 (diff)
remove extraneous rgba visuals code
-rw-r--r--rose.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/rose.c b/rose.c
index 0f49522..b30a502 100644
--- a/rose.c
+++ b/rose.c
@@ -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);