summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a91bc2)
raw | patch | inline | side by side (parent: 7a91bc2)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 21 Oct 2011 05:14:57 +0000 (07:14 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 21 Oct 2011 05:14:57 +0000 (07:14 +0200) |
src/tpdfview.c | patch | blob | history |
diff --git a/src/tpdfview.c b/src/tpdfview.c
index 45cdcf3ebb6c4149da9616499672218411a66523..8c556004540d712a2638292f35bce77e4056d684 100644 (file)
--- a/src/tpdfview.c
+++ b/src/tpdfview.c
GtkWidget *win = NULL;
GtkWidget *tpdfv = NULL;
+ GdkColor bg_color;
+
gtk_init(&argc, &argv);
while (42) {
g_signal_connect(G_OBJECT(win), "key-press-event",
G_CALLBACK(key_press), tpdfv);
+ /* TODO: use resource file */
+ gdk_color_parse("#000000", &bg_color);
+ gtk_widget_modify_bg(tpdfv, GTK_STATE_NORMAL, &bg_color);
+
gtk_widget_show_all(win);
gtk_main();