From 69a3070018b2e0aa21e73abc6030d14f676f4097 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 8 Mar 2011 23:25:06 -0300 Subject: [PATCH] Minor changes in gui.cpp. --- src/modules/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/gui.cpp b/src/modules/gui.cpp index c951a0d2e..a50190b65 100644 --- a/src/modules/gui.cpp +++ b/src/modules/gui.cpp @@ -667,9 +667,9 @@ void save_window_pos(JWidget window, const char *section) set_config_rect(section, "WindowPos", window->getBounds()); } -JWidget load_widget(const char* filename, const char* name) +Widget* load_widget(const char* filename, const char* name) { - JWidget widget; + Widget* widget; char buf[512]; bool found = false;