Fixed includes, added gm_app_view_app function
This commit is contained in:
parent
260eca0f76
commit
cc5a7ab703
|
@ -15,16 +15,16 @@
|
|||
#include <libgnome/gnome-url.h>
|
||||
#include <vte/vte.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "../debug.h"
|
||||
#include "gm-app-view.h"
|
||||
#include "gm-ui.h"
|
||||
#include "../gm-ui.h"
|
||||
#include "gm-world-view.h"
|
||||
#include "gm-world.h"
|
||||
#include "dialogs/gm-world-info-dialog.h"
|
||||
#include "dialogs/gm-worlds-list-dialog.h"
|
||||
#include "dialogs/gm-world-logs-dialog.h"
|
||||
#include "dialogs/gm-world-properties-dialog.h"
|
||||
#include "dialogs/gm-scripts-dialog.h"
|
||||
#include "../gm-world.h"
|
||||
#include "../dialogs/gm-world-info-dialog.h"
|
||||
#include "../dialogs/gm-worlds-list-dialog.h"
|
||||
#include "../dialogs/gm-world-logs-dialog.h"
|
||||
#include "../dialogs/gm-world-properties-dialog.h"
|
||||
#include "../dialogs/gm-scripts-dialog.h"
|
||||
#include "gm-world-tab.h"
|
||||
|
||||
//#include "if_world.h"
|
||||
|
@ -32,8 +32,8 @@
|
|||
//#include "if_preferences.h"
|
||||
//#include "if_mcpconsole.h"
|
||||
|
||||
#include "gm-pixbuf.h"
|
||||
#include "gm-support.h"
|
||||
#include "../gm-pixbuf.h"
|
||||
#include "../gm-support.h"
|
||||
//#include "term.h"
|
||||
//#include "world.h"
|
||||
//#include "net.h"
|
||||
|
@ -400,6 +400,11 @@ gm_app_view_new(GmApp *application) {
|
|||
return view;
|
||||
}
|
||||
|
||||
const GmApp *
|
||||
gm_app_view_application(GmAppView *view) {
|
||||
return view->priv->application;
|
||||
}
|
||||
|
||||
void
|
||||
notebook_focus_with_label(GtkNotebook * note, gchar * caption) {
|
||||
int p = gtk_notebook_get_n_pages(note);
|
||||
|
@ -1184,8 +1189,6 @@ on_gm_app_view_notebook_switch_page(GtkNotebook * notebook,
|
|||
GtkNotebookPage * page, guint page_num, GmAppView *view) {
|
||||
GmWorld *world = gm_app_view_active_world(view);
|
||||
|
||||
debug_msg(0, "%d", page_num);
|
||||
|
||||
if (view->priv->active_world == world) {
|
||||
return;
|
||||
}
|
||||
|
|
Reference in New Issue