diff options
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | svte.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ MANPREFIX = ${PREFIX}/share/man # includes and libs -GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte ) +GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte glib-2.0) GTKLIB=-lvte INCS = -I. -I/usr/include ${GTKINC} @@ -19,7 +19,7 @@ #include "defaults.h" #include <gdk/gdkkeysyms.h> -#include <glib/goption.h> +#include <glib.h> #include <gtk/gtk.h> #include <vte/vte.h> #include <unistd.h> @@ -596,7 +596,7 @@ static void parse_config_file(gchar *config_file) { config->font = DEFAULT_FONT; } - if (NULL == config->window_width || NULL == config->window_height) { + if (0 == config->window_width || 0 == config->window_height) { config->window_width = DEFAULT_WINDOW_WIDTH; config->window_height = DEFAULT_WINDOW_HEIGHT; } |