1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

statusnotifier: fixed pointer type

This commit is contained in:
Dmytro Shynkevych 2015-10-04 15:41:56 -04:00
parent c5127e3654
commit 05e84f3838

View File

@ -1608,7 +1608,7 @@ get_prop (GDBusConnection *conn,
else if (!g_strcmp0 (property, "ToolTip"))
{
GVariant *variant;
GVariantBuilder *builder;
GVariant *pixmap;
if (!priv->icon[STATUS_NOTIFIER_TOOLTIP_ICON].has_pixbuf)
{
@ -1621,13 +1621,13 @@ get_prop (GDBusConnection *conn,
return variant;
}
builder = get_icon_pixmap (sn, STATUS_NOTIFIER_TOOLTIP_ICON);
pixmap = get_icon_pixmap (sn, STATUS_NOTIFIER_TOOLTIP_ICON);
variant = g_variant_new ("(sa(iiay)ss)",
"",
builder,
pixmap,
(priv->tooltip_title) ? priv->tooltip_title : "",
(priv->tooltip_body) ? priv->tooltip_body : "");
g_variant_builder_unref (builder);
g_variant_unref (pixmap);
return variant;
}