[Commits] [SCM] clawsker branch, master, updated. 1.2.0-14-gb108ec8
mones at claws-mail.org
mones at claws-mail.org
Sat Nov 10 19:48:25 CET 2018
The branch, master has been updated
via b108ec88b2714a453ef2dc46c39b360f26926ab6 (commit)
from 7d95a74afb79b9272433ae74fd9f764a32615b9d (commit)
Summary of changes:
clawsker | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit b108ec88b2714a453ef2dc46c39b360f26926ab6
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Nov 10 19:46:45 2018 +0100
Window's set_icon_list needs an array ref
Error was “*** Gtk3::Window::set_icon_list: passed too many parameters
(expected 2, got 4); ignoring excess at ./clawsker line 2878.“ followed
by “need an array ref to convert to GList at ./clawsker line 2878.”
See: https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-icon-list
diff --git a/clawsker b/clawsker
index 805ba18..0c368ca 100755
--- a/clawsker
+++ b/clawsker
@@ -2833,7 +2833,7 @@ sub new_button_box {
}
sub get_app_icons {
- return @APPICONS if (@APPICONS);
+ return \@APPICONS if (@APPICONS);
my @names;
if (-d $DATADIR) { # installed
my $dir = $DATADIR . '/icons/hicolor';
@@ -2850,7 +2850,7 @@ sub get_app_icons {
$icon = Gtk3::Gdk::Pixbuf->new_from_file($_) if (-f $_);
push @APPICONS, $icon if ($icon);
}
- return @APPICONS;
+ return \@APPICONS;
}
sub escape_key_handler {
-----------------------------------------------------------------------
hooks/post-receive
--
Hidden preferences editor for Claws Mail
More information about the Commits
mailing list