summaryrefslogtreecommitdiff
path: root/gtk/gtkinputdialog.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-14 02:41:30 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-14 02:41:30 +0000
commit30b328e79aada4b0d029879e11b58cf6ca2b0073 (patch)
tree6c67157a1cf5d6e3bf7955de42994ccfe084196b /gtk/gtkinputdialog.c
parent59f712ad5f622d40ebd854dfa8d0882730adf106 (diff)
downloadgdk-pixbuf-30b328e79aada4b0d029879e11b58cf6ca2b0073.tar.gz
Handle the case where the pointer is moved between screens during a handle
Fri Dec 13 21:35:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkhandlebox.c (gtk_handle_box_motion): Handle the case where the pointer is moved between screens during a handle box drag by resetting the original location. (#94562) * gtk/gtkinputdialog.c (gtk_input_dialog_get_private): Fix a leftover variable name from cut-and-paste.
Diffstat (limited to 'gtk/gtkinputdialog.c')
-rw-r--r--gtk/gtkinputdialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c
index 0efe51a34..ffb35e807 100644
--- a/gtk/gtkinputdialog.c
+++ b/gtk/gtkinputdialog.c
@@ -146,7 +146,7 @@ gtk_input_dialog_get_type (void)
}
GtkInputDialogPrivate *
-gtk_input_dialog_get_private (GtkInputDialog *menu)
+gtk_input_dialog_get_private (GtkInputDialog *input_dialog)
{
GtkInputDialogPrivate *private;
static GQuark private_quark = 0;
@@ -154,12 +154,12 @@ gtk_input_dialog_get_private (GtkInputDialog *menu)
if (!private_quark)
private_quark = g_quark_from_static_string ("gtk-input-dialog-private");
- private = g_object_get_qdata (G_OBJECT (menu), private_quark);
+ private = g_object_get_qdata (G_OBJECT (input_dialog), private_quark);
if (!private)
{
private = g_new0 (GtkInputDialogPrivate, 1);
- g_object_set_qdata_full (G_OBJECT (menu), private_quark,
+ g_object_set_qdata_full (G_OBJECT (input_dialog), private_quark,
private, g_free);
}