Removed dead code from mainWindow

This commit is contained in:
Markus Koch 2017-02-16 22:22:09 +01:00
parent 844813709b
commit 6c462332be

View File

@ -451,15 +451,6 @@ void mainWindow_webkit_set_enabled(struct mainWindow *mainWindow, gboolean state
}
}
static void mainWindow_configure_menu(struct mainWindow *mainWindow)
{
GMenu *menu;
menu = g_menu_new();
g_menu_append (menu, "Copy", "win.copy");
}
/**
* @brief mainWindow_new creates a new mainWindow.
* @return Returns struct mainWindow *
@ -513,7 +504,6 @@ struct mainWindow *mainWindow_new()
g_object_unref(G_OBJECT(builder));
mainWindow_configure_menu(mainWindow);
mainWindow_configure_treeView(mainWindow);
mainWindow->webkitView = NULL;
mainWindow->webkitScrollArea = NULL;