Commit 5948d5ad authored by Sebastian Ramacher's avatar Sebastian Ramacher

CS

parent eeae4706
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#endif #endif
#if defined(__GNUC__) && defined(__GNUC_MINOR__) #if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define GIRARA_GNUC_CHECK(maj, min) \ # define GIRARA_GNUC_CHECK(maj, min) \
(((__GNUC__ << 20) + (__GNUC_MINOR__ << 10)) >= (((maj) << 20) + ((min) << 10))) (((__GNUC__ << 20) + (__GNUC_MINOR__ << 10)) >= (((maj) << 20) + ((min) << 10)))
#else #else
# define GIRARA_GNUC_CHECK(maj, min) 0 # define GIRARA_GNUC_CHECK(maj, min) 0
......
...@@ -356,11 +356,11 @@ girara_session_create(void) ...@@ -356,11 +356,11 @@ girara_session_create(void)
girara_config_load_default(session); girara_config_load_default(session);
/* create widgets */ /* create widgets */
session->gtk.box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0)); session->gtk.box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
session_private->gtk.overlay = gtk_overlay_new(); session_private->gtk.overlay = gtk_overlay_new();
session_private->gtk.bottom_box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0)); session_private->gtk.bottom_box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
session->gtk.statusbar_entries = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0)); session->gtk.statusbar_entries = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
session->gtk.inputbar_box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0)); session->gtk.inputbar_box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
gtk_box_set_homogeneous(session->gtk.inputbar_box, TRUE); gtk_box_set_homogeneous(session->gtk.inputbar_box, TRUE);
session->gtk.view = gtk_scrolled_window_new(NULL, NULL); session->gtk.view = gtk_scrolled_window_new(NULL, NULL);
session->gtk.viewport = gtk_viewport_new(NULL, NULL); session->gtk.viewport = gtk_viewport_new(NULL, NULL);
......
...@@ -768,7 +768,7 @@ girara_mouse_event_add(girara_session_t* session, guint mask, guint button, ...@@ -768,7 +768,7 @@ girara_mouse_event_add(girara_session_t* session, guint mask, guint button,
bool bool
girara_mouse_event_remove(girara_session_t* session, guint mask, guint button, girara_mode_t mode) girara_mouse_event_remove(girara_session_t* session, guint mask, guint button, girara_mode_t mode)
{ {
g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session != NULL, false);
bool found = false; bool found = false;
/* search for existing binding */ /* search for existing binding */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment