summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-17 05:22:59 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-17 05:22:59 (EDT)
commitf7a961359af3f881bb5c18d1b4e73467cec103ed (patch)
tree1f4669d8b19609a3865706037e7581f3a952aff6 /src
parent39646c040fa98000fbc5d777da543fae41a7a763 (diff)
downloadmarquee-f7a961359af3f881bb5c18d1b4e73467cec103ed.zip
marquee-f7a961359af3f881bb5c18d1b4e73467cec103ed.tar.gz
marquee-f7a961359af3f881bb5c18d1b4e73467cec103ed.tar.bz2
mq_window_new(): Use gtk_window_set_default_size() instead
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 8b6efb1..0559186 100644
--- a/src/window.c
+++ b/src/window.c
@@ -80,7 +80,7 @@ mq_window_new(gchar **uris)
window = malloc(sizeof(*window));
window->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_window_resize(GTK_WINDOW(window->window), 1024, 768);
+ gtk_window_set_default_size(GTK_WINDOW(window->window), 1024, 768);
/* TODO: Don't quit on window close */
g_signal_connect(window->window, "destroy",
G_CALLBACK(gtk_main_quit), NULL);