chiark / gitweb /
Columns are now resizable and wide columns are ellipsized. Columns
[disorder] / disobedience / disobedience.c
index b1c801f97b570e8d583cf57f1cbb913a09ee417f..b9866f7936407311facc11e24760862afe4f2142 100644 (file)
@@ -125,6 +125,7 @@ static void tab_switched(GtkNotebook *notebook,
   menu_update(page_num);
   GtkWidget *const tab = gtk_notebook_get_nth_page(notebook, page_num);
   const struct tabtype *const t = g_object_get_data(G_OBJECT(tab), "type");
+  if(!t) return;                        /* TODO */
   if(t->selected)
     t->selected();
 }