summaryrefslogtreecommitdiff
path: root/gui/Gtk2Gui.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-14 01:42:36 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-14 01:42:36 +0000
commitdd25820ac8dfb3fa1168832db9bf56a1844e49ea (patch)
tree63b53b3bdcdeb15ee675b63d44f19f7e0002b2c3 /gui/Gtk2Gui.c
parent1aea114c973f6ec8990fe29bfda40fca3432f636 (diff)
downloadpcsxr-dd25820ac8dfb3fa1168832db9bf56a1844e49ea.tar.gz
moved about dialog box out of glade2 file
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48009 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/Gtk2Gui.c')
-rw-r--r--gui/Gtk2Gui.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/gui/Gtk2Gui.c b/gui/Gtk2Gui.c
index 0dff71e8..89da504f 100644
--- a/gui/Gtk2Gui.c
+++ b/gui/Gtk2Gui.c
@@ -38,6 +38,7 @@
#include "MemcardDlg.h"
#include "ConfDlg.h"
#include "DebugMemory.h"
+#include "AboutDlg.h"
// Functions Callbacks
void OnFile_RunCd();
@@ -869,20 +870,7 @@ void on_states_save_other() {
}
void OnHelp_About(GtkWidget *widget, gpointer user_data) {
- GladeXML *xml;
- GtkWidget *about_dialog;
-
- xml = glade_xml_new(PACKAGE_DATA_DIR "pcsx.glade2", "AboutDlg", NULL);
-
- if (!xml) {
- g_warning("We could not load the interface!");
- return;
- }
-
- about_dialog = glade_xml_get_widget(xml, "AboutDlg");
-
- gtk_dialog_run(GTK_DIALOG (about_dialog));
- gtk_widget_destroy(about_dialog);
+ RunAboutDialog();
}
void SysMessage(const char *fmt, ...) {