static void
psppire_data_editor_finalize (GObject *obj)
{
- PsppireDataEditor *de = (PsppireDataEditor *) obj;
+ PsppireDataEditor *de = PSPPIRE_DATA_EDITOR (obj);
if (de->font)
pango_font_description_free (de->font);
static void
psppire_data_editor_dispose (GObject *obj)
{
- PsppireDataEditor *de = (PsppireDataEditor *) obj;
+ PsppireDataEditor *de = PSPPIRE_DATA_EDITOR (obj);
if (de->dispose_has_run)
return;
static void
psppire_keypad_dispose (GObject *obj)
{
- PsppireKeypad *kp = (PsppireKeypad *)obj;
+ PsppireKeypad *kp = PSPPIRE_KEYPAD (obj);
if (kp->dispose_has_run)
return;
G_BEGIN_DECLS
#define PSPPIRE_KEYPAD_TYPE (psppire_keypad_get_type ())
-#define PSPPIRE_KEYPAD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_KEYPAD_TYPE, Psppire_Keypad))
-#define PSPPIRE_KEYPAD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_KEYPAD_TYPE, Psppire_KeypadClass))
+#define PSPPIRE_KEYPAD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_KEYPAD_TYPE, PsppireKeypad))
+#define PSPPIRE_KEYPAD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_KEYPAD_TYPE, PsppireKeypadClass))
#define PSPPIRE_IS_KEYPAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_KEYPAD_TYPE))
#define PSPPIRE_IS_KEYPAD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_KEYPAD_TYPE))
static void
psppire_means_layer_dispose (GObject *obj)
{
- PsppireMeansLayer *w = (PsppireMeansLayer *)obj;
+ PsppireMeansLayer *w = PSPPIRE_MEANS_LAYER (obj);
if (w->dispose_has_run)
return;
static void
psppire_scanf_dispose (GObject *obj)
{
- PsppireScanf *w = (PsppireScanf *)obj;
+ PsppireScanf *w = PSPPIRE_SCANF (obj);
if (w->dispose_has_run)
return;
static void
psppire_syntax_window_dispose (GObject *obj)
{
- PsppireSyntaxWindow *sw = (PsppireSyntaxWindow *)obj;
+ PsppireSyntaxWindow *sw = PSPPIRE_SYNTAX_WINDOW (obj);
GtkClipboard *clip_selection;
GtkClipboard *clip_primary;