[Bug 44908] bugs in 'ubuntu' notification theme

chpe chpe at gnome.org
Mon May 15 20:44:00 UTC 2006


Public bug reported:

Binary package hint: notification-daemon

themes/ubuntu/theme.c:

static gboolean
mouse_over(GtkWidget *win, GdkEventExpose *event, WindowData *windata)
{
   gtk_widget_set_state((WindowData*)windata->close_button, GTK_STATE_PRELIGHT);
}

static gboolean
mouse_over_end(GtkWidget *win, GdkEventExpose *event, WindowData *windata)
{
   gtk_widget_set_state((WindowData*)windata->close_button, GTK_STATE_NORMAL);
}

These need to return FALSE not some undefined value!

I also noted that you can replace

#define M_PI 3.14159265358979323846

with just using glib's G_PI (and G_PI_2).

** Affects: notification-daemon (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

-- 
bugs in 'ubuntu' notification theme
https://launchpad.net/bugs/44908




More information about the desktop-bugs mailing list