Sha256: 6f3805602cae6f91927713f34aa69e201d99cd451cbd9ee90c2352b9df5c8c2c

Contents?: true

Size: 1005 Bytes

Versions: 2

Compression:

Stored size: 1005 Bytes

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>category= (Notify::Notification)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>/*
 * call-seq:
 *      category=(category_name)
 *
 * category_name = The category name
 *
 * Sets the category
 */
static VALUE
_wrap_notification_set_category(VALUE self, VALUE cat_name)
{
  char *cname = NIL_P(cat_name) ? NULL : StringValuePtr(cat_name);
  NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self));

#ifdef DEBUG
  if(NOTIFY_IS_NOTIFICATION(n))
    rb_warn(&quot;set_category, ok&quot;);
  else
    rb_warn(&quot;set_category, not ok&quot;);
#endif

  notify_notification_set_category(n, cname);

  return Qnil;
}</pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-libnotify-0.4.1.1 doc/classes/Notify/Notification.src/M000012.html
ruby-libnotify-0.4.1 doc/classes/Notify/Notification.src/M000012.html