https://bugzilla.gnome.org/show_bug.cgi?id=750455
}
if (hint) {
- hint->res_name = g_strdup (app_name);
- hint->res_class = g_strdup ("GStreamer");
+ hint->res_name = (char *) app_name;
+ hint->res_class = (char *) "GStreamer";
XSetClassHint (ximagesink->xcontext->disp, xwindow->win, hint);
}
XFree (hint);
XFree (xproperty.value);
if (hint) {
- hint->res_name = g_strdup (title);
- hint->res_class = g_strdup ("GStreamer");
+ hint->res_name = (char *) title;
+ hint->res_class = (char *) "GStreamer";
XSetClassHint (context->disp, window->win, hint);
}
XFree (hint);