[gnote] Update bugzilla addin



commit 46991c1648fb977a7a97ac385a092147d4589aaa
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Sep 29 15:49:43 2019 +0300

    Update bugzilla addin

 src/addins/bugzilla/bugzilla.desktop.in.in | 2 +-
 src/addins/bugzilla/bugzillalink.cpp       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/addins/bugzilla/bugzilla.desktop.in.in b/src/addins/bugzilla/bugzilla.desktop.in.in
index 6784e829..a655dfca 100644
--- a/src/addins/bugzilla/bugzilla.desktop.in.in
+++ b/src/addins/bugzilla/bugzilla.desktop.in.in
@@ -4,7 +4,7 @@ _Name=Bugzilla Links
 _Description=Allows you to drag a Bugzilla URL from your browser directly into a Gnote note.  The bug number 
is inserted as a link with a little bug icon next to it.
 _Authors=Hubert Figuiere and the Tomboy Project
 Category=DesktopIntegration
-Version=0.2
+Version=0.3
 DefaultEnabled=false
 Module=libbugzilla
 LibgnoteRelease=@LIBGNOTE_RELEASE@
diff --git a/src/addins/bugzilla/bugzillalink.cpp b/src/addins/bugzilla/bugzillalink.cpp
index 52129958..3a5a040c 100644
--- a/src/addins/bugzilla/bugzillalink.cpp
+++ b/src/addins/bugzilla/bugzillalink.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012,2017 Aurimas Cernius
+ * Copyright (C) 2012,2017,2019 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -80,7 +80,7 @@ namespace bugzilla {
       image = Gdk::Pixbuf::create_from_file(imagePath);
     }
     catch(...) {
-      image = gnote::IconManager::obj().get_icon(gnote::IconManager::BUG, 16);
+      image = gnote::IGnote::obj().icon_manager().get_icon(gnote::IconManager::BUG, 16);
     }
     set_image(image);
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]