search-view: don't cast to GcalView when emit signal
Also, remove the last traces of GcalView.
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
36e51ac981
commit
1055709d40
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "gcal-event-widget.h"
|
||||
#include "gcal-utils.h"
|
||||
#include "gcal-view.h"
|
||||
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
@@ -228,7 +227,7 @@ static void
|
||||
open_event (GcalEventWidget *event_widget,
|
||||
gpointer user_data)
|
||||
{
|
||||
g_signal_emit_by_name (GCAL_VIEW (user_data), "event-activated", event_widget);
|
||||
g_signal_emit_by_name (user_data, "event-activated", event_widget);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user