SF.net SVN: geany-plugins: [49] trunk/geanydoc/src/geanydoc.c

yurand at users.sourceforge.net yurand at xxxxx
Thu May 22 18:56:11 UTC 2008


Revision: 49
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=49&view=rev
Author:   yurand
Date:     2008-05-22 11:56:11 -0700 (Thu, 22 May 2008)

Log Message:
-----------
Compilation fix

Modified Paths:
--------------
    trunk/geanydoc/src/geanydoc.c

Modified: trunk/geanydoc/src/geanydoc.c
===================================================================
--- trunk/geanydoc/src/geanydoc.c	2008-05-20 22:53:16 UTC (rev 48)
+++ trunk/geanydoc/src/geanydoc.c	2008-05-22 18:56:11 UTC (rev 49)
@@ -33,6 +33,7 @@
 #include "support.h"		/* for the _() translation macro (see also po/POTFILES.in) */
 #include "document.h"
 #include "filetypes.h"
+#include "ui_utils.h"
 #include "utils.h"
 
 #include "plugindata.h"		/* this defines the plugin API */
@@ -162,7 +163,7 @@
 		else
 		{
 			p_sci->set_text(doc_list[idx].sci, std_output);
-			book = GTK_NOTEBOOK(app->notebook);
+			book = GTK_NOTEBOOK(main_widgets->notebook);
 			page = gtk_notebook_page_num(book, GTK_WIDGET(doc_list[idx].sci));
 			gtk_notebook_set_current_page(book, page);
 		}
@@ -312,7 +313,7 @@
 	GtkWidget *dialog_vbox1;
 	GtkWidget *entry_word;
 	GtkWidget *dialog = gtk_dialog_new_with_buttons("Document interactive",
-							GTK_WINDOW(app->window),
+							GTK_WINDOW(main_widgets->window),
 							GTK_DIALOG_MODAL |
 							GTK_DIALOG_DESTROY_WITH_PARENT,
 							GTK_STOCK_OK,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list