Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
geany
Commits
c35dedf3
Kaydet (Commit)
c35dedf3
authored
Eki 20, 2014
tarafından
Colomban Wendling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename internal plugin_init() to avoid confusion with plugins entry point
üst
94a7762f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
plugins.c
src/plugins.c
+5
-5
No files found.
src/plugins.c
Dosyayı görüntüle @
c35dedf3
...
@@ -582,7 +582,7 @@ static gint cmp_plugin_names(gconstpointer a, gconstpointer b)
...
@@ -582,7 +582,7 @@ static gint cmp_plugin_names(gconstpointer a, gconstpointer b)
static
void
static
void
plugin_
init
(
Plugin
*
plugin
)
plugin_
load
(
Plugin
*
plugin
)
{
{
GeanyPlugin
**
p_geany_plugin
;
GeanyPlugin
**
p_geany_plugin
;
PluginCallback
*
callbacks
;
PluginCallback
*
callbacks
;
...
@@ -645,12 +645,12 @@ plugin_init(Plugin *plugin)
...
@@ -645,12 +645,12 @@ plugin_init(Plugin *plugin)
/* Load and optionally init a plugin.
/* Load and optionally init a plugin.
*
init
_plugin decides whether the plugin's plugin_init() function should be called or not. If it is
*
load
_plugin decides whether the plugin's plugin_init() function should be called or not. If it is
* called, the plugin will be started, if not the plugin will be read only (for the list of
* called, the plugin will be started, if not the plugin will be read only (for the list of
* available plugins in the plugin manager).
* available plugins in the plugin manager).
* When add_to_list is set, the plugin will be added to the plugin manager's plugin_list. */
* When add_to_list is set, the plugin will be added to the plugin manager's plugin_list. */
static
Plugin
*
static
Plugin
*
plugin_new
(
const
gchar
*
fname
,
gboolean
init
_plugin
,
gboolean
add_to_list
)
plugin_new
(
const
gchar
*
fname
,
gboolean
load
_plugin
,
gboolean
add_to_list
)
{
{
Plugin
*
plugin
;
Plugin
*
plugin
;
GModule
*
module
;
GModule
*
module
;
...
@@ -758,8 +758,8 @@ plugin_new(const gchar *fname, gboolean init_plugin, gboolean add_to_list)
...
@@ -758,8 +758,8 @@ plugin_new(const gchar *fname, gboolean init_plugin, gboolean add_to_list)
plugin
->
public
.
info
=
&
plugin
->
info
;
plugin
->
public
.
info
=
&
plugin
->
info
;
plugin
->
public
.
priv
=
plugin
;
plugin
->
public
.
priv
=
plugin
;
if
(
init
_plugin
)
if
(
load
_plugin
)
plugin_
init
(
plugin
);
plugin_
load
(
plugin
);
if
(
add_to_list
)
if
(
add_to_list
)
plugin_list
=
g_list_prepend
(
plugin_list
,
plugin
);
plugin_list
=
g_list_prepend
(
plugin_list
,
plugin
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment