diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-09-06 21:28:31 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-09-06 21:28:31 -0400 |
commit | e9df5edc11de508cfb4acfccecdbd8fc6a63eac2 (patch) | |
tree | b40e80a8c4e4821d0ee3a8d21de4b0c608a44e5b /gtk/gtkcellrendereraccel.c | |
parent | 794230e7086e1b829e5806fbf70159ac6c541ecd (diff) | |
download | gtk+-e9df5edc11de508cfb4acfccecdbd8fc6a63eac2.tar.gz |
Avoid compiler warnings
The previous commit was sloppy with parameter types.
Diffstat (limited to 'gtk/gtkcellrendereraccel.c')
-rw-r--r-- | gtk/gtkcellrendereraccel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c index 60f52c8b81..8ea1d86f67 100644 --- a/gtk/gtkcellrendereraccel.c +++ b/gtk/gtkcellrendereraccel.c @@ -659,7 +659,7 @@ gtk_cell_editable_event_box_key_press_event (GtkWidget *widget, edited = TRUE; out: - gtk_grab_remove (box); + gtk_grab_remove (widget); gtk_cell_renderer_accel_ungrab (GTK_CELL_RENDERER_ACCEL (box->cell)); gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (widget)); gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE (widget)); @@ -678,7 +678,7 @@ gtk_cell_editable_event_box_unrealize (GtkWidget *widget) { GtkCellEditableEventBox *box = (GtkCellEditableEventBox*)widget; - gtk_grab_remove (box); + gtk_grab_remove (widget); gtk_cell_renderer_accel_ungrab (GTK_CELL_RENDERER_ACCEL (box->cell)); GTK_WIDGET_CLASS (gtk_cell_editable_event_box_parent_class)->unrealize (widget); |