Fixed for ruby
This commit is contained in:
parent
fc50f54ec0
commit
84552f4d47
|
@ -187,9 +187,8 @@ gm_triggers_dialog_create_models(GmTriggersDialog *triggers,
|
|||
int i;
|
||||
GtkTreeIter iter;
|
||||
ModelData *data;
|
||||
GList *scripts, *item;
|
||||
|
||||
#ifdef HAVE_RUBY
|
||||
GList *scripts, *item;
|
||||
GmScript *script;
|
||||
GmScriptFunction *func;
|
||||
#endif
|
||||
|
|
|
@ -782,7 +782,10 @@ gm_world_apply_trigger(GmWorld *world, GmTrigger *trigger, gchar const *text,
|
|||
GList *item;
|
||||
GmTriggerData *data;
|
||||
gint i, nargs;
|
||||
gchar **spawn_args, *tmp, *argstr;
|
||||
gchar **spawn_args, *tmp;
|
||||
#ifdef HAVE_RUBY
|
||||
gchar *argstr;
|
||||
#endif
|
||||
|
||||
for (item = trigger->actions; item; item = item->next) {
|
||||
data = (GmTriggerData *)(item->data);
|
||||
|
|
|
@ -164,7 +164,9 @@ static void
|
|||
gm_app_view_finalize(GObject *object) {
|
||||
GmAppView *view = GM_APP_VIEW(object);
|
||||
|
||||
#ifdef HAVE_RUBY
|
||||
gm_scripts_dialog_fini();
|
||||
#endif
|
||||
|
||||
if (view->priv->cursor) {
|
||||
gdk_cursor_unref(view->priv->cursor);
|
||||
|
@ -533,7 +535,9 @@ gm_app_view_init(GmAppView *view) {
|
|||
view->priv->y_start = 0;
|
||||
view->priv->cursor = NULL;
|
||||
|
||||
#ifdef HAVE_RUBY
|
||||
gm_scripts_dialog_init();
|
||||
#endif
|
||||
|
||||
if (gm_tray_has_manager()) {
|
||||
view->priv->tray = gm_tray_new(_("GnoeMoe Gnome MOO Client"));
|
||||
|
|
Reference in New Issue