]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-module.c
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libdocument / ev-module.c
index f9860a2f6bfcc35eff36df78169e1c9e1a397216..330da2ccd68ac93bc11fcd36fe7d848a64a7c8cb 100644 (file)
@@ -16,8 +16,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330
- * Boston, MA 02111-1307, USA. 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor
+ * Boston, MA 02110-1301, USA.
  */
  
 /* This is a modified version of ephy-module.c from Epiphany source code.
@@ -76,7 +76,7 @@ ev_module_load (GTypeModule *gmodule)
         module->library = g_module_open (module->path, 0);
 
         if (!module->library) {
-                g_warning (g_module_error ());
+                g_warning ("%s", g_module_error ());
 
                 return FALSE;
         }
@@ -84,7 +84,7 @@ ev_module_load (GTypeModule *gmodule)
         /* extract symbols from the lib */
         if (!g_module_symbol (module->library, "register_evince_backend",
                               (void *) &register_func)) {
-                g_warning (g_module_error ());
+                g_warning ("%s", g_module_error ());
                 g_module_close (module->library);
 
                 return FALSE;