Commit 42586130 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

Prefix function signature with G_MODULE_EXPORT, as this will probably be

* src/filetree.cc (regexxer_create_file_tree): Prefix function
signature with G_MODULE_EXPORT, as this will probably be required
on Windows to enable dynamic loading.
* src/statusline.cc (regexxer_create_status_line): Ditto.

svn path=/trunk/; revision=641
parent 1282b6a1
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* src/filetree.cc (regexxer_create_file_tree): Prefix function
signature with G_MODULE_EXPORT, as this will probably be required
on Windows to enable dynamic loading.
* src/statusline.cc (regexxer_create_status_line): Ditto.
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* m4/dk-warn.m4 (DK_ARG_ENABLE_WARNINGS): Accept a fourth argument
......
......@@ -25,6 +25,7 @@
#include "stringutils.h"
#include "translation.h"
#include <gmodule.h>
#include <glibmm.h>
#include <gconfmm/client.h>
#include <gtkmm/stock.h>
......@@ -34,7 +35,7 @@
/*
* Custom widget creation function for libglade.
*/
extern "C"
extern "C" G_MODULE_EXPORT
GtkWidget* regexxer_create_file_tree(char*, char*, char*, int, int)
{
try
......
......@@ -21,6 +21,7 @@
#include "statusline.h"
#include "translation.h"
#include <gmodule.h>
#include <gdk/gdkkeysyms.h>
#include <gtkmm.h>
#include <locale>
......@@ -30,7 +31,7 @@
/*
* Custom widget creation function for libglade.
*/
extern "C"
extern "C" G_MODULE_EXPORT
GtkWidget* regexxer_create_status_line(char*, char*, char*, int, int)
{
try
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment