GTK4: formatting pass
This commit is contained in:
parent
db4f980af9
commit
d7781d308d
|
@ -130,8 +130,6 @@ void handle_signal_load_changed(WebKitWebView* self, WebKitLoadEvent load_event,
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* New tabs */
|
||||
WebKitWebView* create_new_webview()
|
||||
{
|
||||
|
@ -178,7 +176,6 @@ GtkWidget* handle_signal_create_new_tab(WebKitWebView* self,
|
|||
return GTK_WIDGET(self); // NULL;
|
||||
}
|
||||
|
||||
|
||||
void notebook_create_new_tab_mini(GtkNotebook* notebook, const char* uri)
|
||||
{
|
||||
WebKitWebView* view = create_new_webview();
|
||||
|
@ -288,8 +285,6 @@ void handle_signal_bar_press_enter(void* data)
|
|||
gtk_widget_hide(GTK_WIDGET(bar.widget));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Handle shortcuts */
|
||||
int handle_shortcut_mini(func id)
|
||||
{
|
||||
|
@ -430,7 +425,6 @@ int handle_shortcut(func id)
|
|||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/* Listen to keypresses */
|
||||
|
||||
static int handle_signal_keypress(void* self, int keyval, int keycode,
|
||||
|
@ -453,7 +447,6 @@ static int handle_signal_keypress(void *self, int keyval, int keycode,
|
|||
}
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
@ -512,7 +505,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
// Enter the main event loop, and wait for user interaction
|
||||
printf("\nEntering main loop");
|
||||
printf("Entering main loop\n");
|
||||
while (g_list_model_get_n_items(gtk_window_get_toplevels()) > 0 && num_tabs > 0)
|
||||
g_main_context_iteration(NULL, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user