cleanup some warnings

This commit is contained in:
Simon Gomizelj 2012-11-13 20:42:23 -05:00
parent 062b5796dd
commit 4847ad7b95
1 changed files with 5 additions and 3 deletions

View File

@ -76,7 +76,7 @@ struct hint_info {
double padding, border_width, roundness; double padding, border_width, roundness;
}; };
static hint_info hints = {NULL}; static hint_info hints = {nullptr, nullptr, nullptr, nullptr, 0, 0, 0};
static void launch_browser(char *browser, char *url); static void launch_browser(char *browser, char *url);
@ -1198,10 +1198,12 @@ int main(int argc, char **argv) {
} }
keybind_info info = { keybind_info info = {
{vte, gtk_entry_new(), {vte,
gtk_entry_new(),
gtk_alignment_new(0, 0, 1, 1), gtk_alignment_new(0, 0, 1, 1),
gtk_drawing_area_new(), gtk_drawing_area_new(),
overlay_mode::hidden}, overlay_mode::hidden,
std::vector<url_data>()},
{vi_mode::insert, 0, 0, 0, 0}, {vi_mode::insert, 0, 0, 0, 0},
{nullptr, FALSE, FALSE, FALSE, -1} {nullptr, FALSE, FALSE, FALSE, -1}
}; };