diff options
Diffstat (limited to 'surf.c')
| -rw-r--r-- | surf.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -229,6 +229,7 @@ static void togglecookiepolicy(Client *c, const Arg *a); static void toggleinspector(Client *c, const Arg *a); static void find(Client *c, const Arg *a); static void sendext(Client *c, const Arg *a); +static void quit(Client *c, const Arg *a); /* Buttons */ static void clicknavigate(Client *c, const Arg *a, WebKitHitTestResult *h); @@ -1047,6 +1048,11 @@ destroyclient(Client *c) free(c); } +void quit(Client *c, const Arg *a) +{ + gtk_widget_destroy(c->win); +} + void cleanup(void) { |
