mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
window: Make type final
After removing the desktop window, this type is no longer derived.
This commit is contained in:
parent
0a6e406344
commit
11d7e5c129
File diff suppressed because it is too large
Load diff
|
@ -33,7 +33,7 @@
|
|||
G_BEGIN_DECLS
|
||||
|
||||
#define NAUTILUS_TYPE_WINDOW (nautilus_window_get_type ())
|
||||
G_DECLARE_DERIVABLE_TYPE (NautilusWindow, nautilus_window, NAUTILUS, WINDOW, GtkApplicationWindow);
|
||||
G_DECLARE_FINAL_TYPE (NautilusWindow, nautilus_window, NAUTILUS, WINDOW, GtkApplicationWindow);
|
||||
|
||||
typedef gboolean (* NautilusWindowGoToCallback) (NautilusWindow *window,
|
||||
GFile *location,
|
||||
|
@ -51,22 +51,6 @@ typedef gboolean (* NautilusWindowGoToCallback) (NautilusWindow *window,
|
|||
#define NAUTILUS_WINDOW_DEFAULT_WIDTH 890
|
||||
#define NAUTILUS_WINDOW_DEFAULT_HEIGHT 550
|
||||
|
||||
|
||||
struct _NautilusWindowClass
|
||||
{
|
||||
GtkApplicationWindowClass parent_spot;
|
||||
|
||||
/* Function pointers for overriding, without corresponding signals */
|
||||
void (* sync_title) (NautilusWindow *window,
|
||||
NautilusWindowSlot *slot);
|
||||
void (* close) (NautilusWindow *window);
|
||||
/* Use this in case your window has a special slot. Also is expected that
|
||||
* the slot is initialized with nautilus_window_initialize_slot.
|
||||
*/
|
||||
NautilusWindowSlot * (* create_slot) (NautilusWindow *window,
|
||||
GFile *location);
|
||||
};
|
||||
|
||||
NautilusWindow * nautilus_window_new (GdkScreen *screen);
|
||||
void nautilus_window_close (NautilusWindow *window);
|
||||
|
||||
|
|
Loading…
Reference in a new issue