Removed dead code from mainWindow
This commit is contained in:
parent
844813709b
commit
6c462332be
@ -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.
|
* @brief mainWindow_new creates a new mainWindow.
|
||||||
* @return Returns struct mainWindow *
|
* @return Returns struct mainWindow *
|
||||||
@ -513,7 +504,6 @@ struct mainWindow *mainWindow_new()
|
|||||||
|
|
||||||
g_object_unref(G_OBJECT(builder));
|
g_object_unref(G_OBJECT(builder));
|
||||||
|
|
||||||
mainWindow_configure_menu(mainWindow);
|
|
||||||
mainWindow_configure_treeView(mainWindow);
|
mainWindow_configure_treeView(mainWindow);
|
||||||
mainWindow->webkitView = NULL;
|
mainWindow->webkitView = NULL;
|
||||||
mainWindow->webkitScrollArea = NULL;
|
mainWindow->webkitScrollArea = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user