Fix panel close button.
This commit is contained in:
parent
fea97e80c3
commit
c8332ddf54
2 changed files with 22 additions and 16 deletions
|
@ -71,7 +71,12 @@ midori_panel_close_cb (MidoriPanel* panel)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
midori_cclosure_marshal_BOOLEAN__VOID (GClosure* closure, GValue* return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
|
midori_cclosure_marshal_BOOLEAN__VOID (GClosure* closure,
|
||||||
|
GValue* return_value,
|
||||||
|
guint n_param_values,
|
||||||
|
const GValue* param_values,
|
||||||
|
gpointer invocation_hint,
|
||||||
|
gpointer marshal_data)
|
||||||
{
|
{
|
||||||
typedef gboolean(*GMarshalFunc_BOOLEAN__VOID) (gpointer data1,
|
typedef gboolean(*GMarshalFunc_BOOLEAN__VOID) (gpointer data1,
|
||||||
gpointer data2);
|
gpointer data2);
|
||||||
|
@ -164,7 +169,8 @@ midori_panel_class_init (MidoriPanelClass* class)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
midori_panel_button_close_clicked_cb (MidoriPanel* panel)
|
midori_panel_button_close_clicked_cb (GtkWidget* toolitem,
|
||||||
|
MidoriPanel* panel)
|
||||||
{
|
{
|
||||||
g_signal_emit (panel, signals[CLOSE], 0);
|
g_signal_emit (panel, signals[CLOSE], 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue