[gtk+] gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData
- Date: Thu, 16 Dec 2010 00:07:58 +0000 (UTC)
commit 499aa2b3b90817e82dec537294df3c3fbe623307
Author: Javier Jardón <jjardon gnome org>
Date: Wed Dec 15 23:55:31 2010 +0000
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData
gtk/gtkfilechooserbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 3db63bf..695664d 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -1041,7 +1041,7 @@ gtk_file_chooser_button_drag_data_received (GtkWidget *widget,
data, type,
drag_time);
- if (widget == NULL || context == NULL || data == NULL || data->length < 0)
+ if (widget == NULL || context == NULL || data == NULL || gtk_selection_data_get_length (data) < 0)
return;
switch (type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]