mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
define dependencies
This commit is contained in:
parent
3c705c14c2
commit
4e914857a2
@ -6,10 +6,13 @@ namespace app
|
||||
Browser::Browser(
|
||||
GtkApplication *application
|
||||
) {
|
||||
// Init dependencies
|
||||
this->application = application;
|
||||
|
||||
// Init GTK
|
||||
this->gtk = gtk_application_window_new(
|
||||
GTK_APPLICATION(
|
||||
application
|
||||
this->application
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -21,13 +21,16 @@ namespace app
|
||||
// GTK
|
||||
GtkWidget *gtk;
|
||||
|
||||
// Defaults
|
||||
const guint WIDTH = 640;
|
||||
const guint HEIGHT = 480;
|
||||
// Dependencies
|
||||
GtkApplication *application;
|
||||
|
||||
// Requirements
|
||||
browser::Header *header;
|
||||
|
||||
// Defaults
|
||||
const guint WIDTH = 640;
|
||||
const guint HEIGHT = 480;
|
||||
|
||||
Browser(
|
||||
GtkApplication *application
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user